public async Task DispatchAsync() { foreach (var o in orders) { await orderDispatcher.DispatchAsync(o); } await orderDispatcher.DispatchAsync(rootOrder); }
public async Task DispatchAsync() => await orderDispatcher.DispatchAsync(order);