Exemplo n.º 1
0
        public void Handle(OrderSubmittedEvent orderSumbiteEvent)
        {
            ClientOrderDetailsDto orderDetails = OrderFinder
                                                 .GetClientOrderDetails(orderSumbiteEvent.OrderId);

            Shipment shipment = Factory.CreateShipment(orderDetails);

            Repository.Save(shipment);
        }
Exemplo n.º 2
0
 public ActionResult ConfirmOrder(int orderId)
 {
     return(View(OrderFinder.GetClientOrderDetails(orderId)));
 }