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