コード例 #1
0
 public async Task CommandAsync <TCommand>(TCommand command, string senderId) where TCommand : class, ICommand
 {
     ValidateMessage(command);
     await _commandBus.CommandAsync(command, senderId);
 }