class DLFolderResolversImpl implements DLFolderResolvers {

    @Override
    public DataFetcher<DLFolder> deleteDLFolderDataFetcher() {
        return environment -> {
            long folderId = util.getLongArg(environment, "folderId");

            return dlFolderLocalService.deleteDLFolder(folderId);
        };
    }

}