public IActionResult Edit(int DishId) { Dish Edit_Dish = dbContext.dishes.FirstOrDefault(dish => dish.DishId == DishId); return(View(Edit_Dish)); }
public IActionResult Single_Dish(int DishId) { Dish Single_Dish = dbContext.dishes.FirstOrDefault(dish => dish.DishId == DishId); return(View("Single_Dish", Single_Dish)); }