public void Handle(FeesCalculated t) { Console.WriteLine("Creating Event source 'Fees Calculated'"); var evnt = new FeesCalculatedEvent { OrderId = t.Order.OrderId, Fees = t.Order.Fees }; StoreEvent(evnt); }
public void Handle(FeesCalculated t) { Publisher.Publish(new CalculateTaxes { Order = t.Order }); }