Example #1
0
 public ActionResult UpdateDeliveryData(ShoppingCartSession shoppingCart, OtherDeliveryAddressViewModel model)
 {
     ShoppingCartService.SetDeliveryAddress(shoppingCart, model);
     return(RedirectToAction("Summary"));
 }
Example #2
0
 public void SetDeliveryAddress(ShoppingCartSession shoppingCart, OtherDeliveryAddressViewModel model)
 {
     shoppingCart.OtherDeliveryAddressViewModel = model;
     shoppingCart.OtherDeliveryAddressViewModel.OtherDeliveryAddress = model.OtherDeliveryAddress;
 }