Esempio n. 1
0
 public ViewResult ConfirmDetails(Cart cart, DeliveryDetails details)
 {
     if (ModelState.IsValid) {
         _orderProcessor.ProcessOrder(cart, details);
         return View();
     }
     else {
         return View("Checkout", details);
     }
 }
 public void ProcessOrder(Cart cart, DeliveryDetails details)
 {
 }