Exemplo n.º 1
0
 public async Task SendAsync(Message <ICommand> command) => await _messageBusClient.SendAsync(command);
Exemplo n.º 2
0
 public async Task DispatchAsync <TCommand>(TCommand command, ICorrelationContext context)
     where TCommand : ICommand
 {
     await messageBusClient.SendAsync(command, context);
 }