public IActionResult ShippingUpdate(OrderShippingForm shipping) { shipping.ToOrderForm(_OrderService.CurrentOrder()); _OrderService.CurrentOrder().ShippingPrice = OrderForm.Options.ShippingMethods[_OrderService.CurrentOrder().ShippingMethod]; _OrderService.SaveCurrentOrder(); return(RedirectToAction("Payment")); }
public IActionResult Shipping() { var shippingForm = OrderShippingForm.FromOrderForm(_OrderService.CurrentOrder()); return(View(shippingForm)); }