示例#1
0
 public void UpdateDelivery(Checkout_Delivery vm)
 {
     ClientDetails.Delivery = vm.Delivery;
 }
示例#2
0
        public ActionResult ProceedDelivery(Checkout_Delivery vm)
        {

            if (ModelState.IsValid)
            {

                var cart = GetCart();
                cart.Step4 = true;
                cart.UpdateDelivery(vm);
                return RedirectToAction("Index", new { step = 4 });
            }
            return RedirectToAction("Index", new { step = 3 });
        }