public void DeleteMainCategory(int mainCategoryId) { _mainCRepo.DeleteMainCategory(mainCategoryId); }