private void AddFoodCategory(MenuCategoryOption type, IFoodCategory category) { _foodCategories.Add(type, category); }
public FoodCategoryController([FromServices] IHostingEnvironment env, IFoodCategory fc) { _webrootpath = env.WebRootPath; _foodCategory = fc; }