public void Handle(TakePayment baseOrder) { var order = new CashiersOrder(baseOrder.Order); order.IsPaid = true; var orderPaid = new OrderPaid { Order = order.InnerItem }; orderPaid.ReplyTo(baseOrder); _publisher.Publish(orderPaid); }
public void Handle(OrderPaid order) { WriteAction(order); Console.WriteLine($"Order paid: \n\r {order.Order}"); }
public void Handle(OrderPaid order) { _midgetHouse.KillMidget(this); }