//Edit Meal public ActionResult UpdateMeal(MealViewModel mealToUpdate) { var MealDBInterface = new MealDAO(); var mealToUpdateID = mealToUpdate.Id; var mealToDisplay = new MealViewModel(); MealDBInterface.UpdateMeal(mealToUpdate); mealToDisplay = MealDBInterface.FetchMeal(mealToUpdateID); return(View("MealForm", mealToDisplay)); }