private void ExecuteOrder(Order order) { _orderDao.StoreOrder(order); _emailSender.SendEmail(new OrderEmail(order)); _receiptPrinter.PrintReceiptForOrder(order); _receiptDao.Save(order); PouplateRecommendations(); }
public OrderEmail(Order order) { }
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) { }