public ActionResult ChosenBreakfast(int id, double quantity) { string currentUserId = User.Identity.GetUserId(); _fruitsRepository.FindByIdAndChangeStateChosenBreakfast(id, currentUserId, quantity); return(RedirectToAction("IndexBreakfast")); }
public ActionResult ChosenBreakfast(int id, double quantity) { string currentUserId = User.Identity.GetUserId(); _fruitsRepository.FindByIdAndChangeStateChosenBreakfast(id, currentUserId, quantity); return(RedirectToAction("IndexBreakfast")); }