예제 #1
0
 public void ExecuteOrder(Order order)
 {
     _orderDao.StoreOrder(order);
     _emailSender.SendEmail(new OrderEmail(order));
     _receiptPrinter.PrintReceiptForOrder(order);
     _receiptDao.Save(order);
 }