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

            PouplateRecommendations();
        }
Exemplo n.º 2
0
 public OrderEmail(Order order)
 {
 }
Exemplo n.º 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)
 {
 }