class MBCategoryResolversImpl implements MBCategoryResolvers {

    @Override
    public DataFetcher<MBCategory> deleteMBCategoryDataFetcher() {
        return environment -> {
            long categoryId = util.getLongArg(environment, "categoryId");

            return mbCategoryLocalService.deleteMBCategory(categoryId);
        };
    }

}