public ActionResult Info(string id) { var cartItems = (List<CookieCartItem>)Session[id]; if (cartItems == null) { return RedirectToAction("Index", "Cart"); } var model = new CheckoutInfoViewModel(); return View(model); }
public ActionResult Info(string id) { var cartItems = (List <CookieCartItem>)Session[id]; if (cartItems == null) { return(RedirectToAction("Index", "Cart")); } var model = new CheckoutInfoViewModel(); return(View(model)); }
public ActionResult Info(string id, [Bind(Prefix = "Form")] CheckoutInfoForm form) { var model = new CheckoutInfoViewModel(); return View(model); }
public ActionResult Info(string id, [Bind(Prefix = "Form")] CheckoutInfoForm form) { var model = new CheckoutInfoViewModel(); return(View(model)); }