public async Task HandleEventAsync(OrderCompleted ev) { var target = new OrderOpener(); await sender.Send(ev.OrderId, target, MessageType.OrderCompleted); }
public async Task HandleEventAsync(CanceledByRequestingUnit ev) { var target = new OrderOpener(); await sender.Send(ev.OrderId, target, MessageType.OrderCanceledByRequestingUnit); }