Exemple #1
0
        public ActionResult ChangeShippingAddress(int ShippingAddressId)
        {
            Customer             c   = Session["ActiveCustomer"] as Customer;
            CustomerModelManager cmM = new CustomerModelManager();

            c.ShippingAddressId = ShippingAddressId;
            cmM.UpdateShippingAddress(c);
            Session["ActiveCustomer"] = c;
            return(RedirectToAction("OrderSummary", "Cart"));
        }