public void Handle(TicketsReserved t) { Console.WriteLine("Creating Event source 'Tickets Reserved'"); var evnt = new TicketsReservedEvent { OrderId = t.Order.OrderId, TicketCount = t.Order.TicketCount }; StoreEvent(evnt); }
public void Handle(TicketsReserved t) { Publisher.Publish(new CommitOrder { Order = t.Order }); }
public void Handle(TicketsReserved t) { Publisher.Publish(new CalculateFees { Order = t.Order }); }