public ActionResult PickedSauce(Guid id) { var sauce = SauceManager.GetAllSauces().Where(x => x.Id == id).FirstOrDefault(); var order = TempData["order"] as OrderViewModel; order.sauce = sauce; TempData["order"] = order; return(RedirectToAction("IngredientsPicker")); }
public ActionResult SaucePicker() { var models = SauceManager.GetAllSauces(); return(View(models)); }
public ActionResult ManageSauces() { List <SauceModel> models = SauceManager.GetAllSauces(); return(View(models)); }