private void ExecuteOrder(Order order)
        {
            _orderDao.StoreOrder(order);
            _emailSender.SendEmail(new OrderEmail(order));
            _receiptPrinter.PrintReceiptForOrder(order);
            _receiptDao.Save(order);

            PouplateRecommendations();
        }
예제 #2
0
 public OrderEmail(Order order)
 {
 }
예제 #3
0
 public void Save(Order order)
 {
 }
 public void HandleOrderExecuted(Order order)
 {
     ExecuteOrder(order);
 }
 public void HandleOrderExecuted(Order order)
 {
     _service.ExecuteOrder(order);
     PouplateRecommendations();
 }
 public void PrintReceiptForOrder(Order order)
 {
 }