示例#1
0
        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);
        }
示例#2
0
        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));
        }
示例#3
0
        public ActionResult Info(string id, [Bind(Prefix = "Form")] CheckoutInfoForm form)
        {
            var model = new CheckoutInfoViewModel();

            return View(model);
        }
示例#4
0
        public ActionResult Info(string id, [Bind(Prefix = "Form")] CheckoutInfoForm form)
        {
            var model = new CheckoutInfoViewModel();

            return(View(model));
        }