Example #1
0
 public async Task Execute <T>(T command)
 {
     await _commands.Publish(command);
 }
Example #2
0
 public async Task Publish <TEvent>(TEvent eventMessage)
 {
     await _events.Publish(eventMessage);
 }