public MenuItemController(IWebHostEnvironment hostingEnv, IMenuItemService menuItemService, IAdminCategoryService categoryService, IAdminSubcategoryService subcategoryService)
 {
     this.hostingEnv         = hostingEnv;
     this.menuItemService    = menuItemService;
     this.categoryService    = categoryService;
     this.subcategoryService = subcategoryService;
     MenuItemVM = InitializeAsync().Result;
 }
 public SubcategoryController(IAdminSubcategoryService adminSubcategoryService, ApplicationDbContext context)
 {
     this.adminSubcategoryService = adminSubcategoryService;
     this.context = context;
 }