Exemplo n.º 1
0
        public Task Handle(CurrencyUpdatedEvent message, CancellationToken cancellationToken)
        {
            // Send some notification e-mail

            return(Task.CompletedTask);
        }
Exemplo n.º 2
0
 public Task Handle(CurrencyUpdatedEvent notification, CancellationToken cancellationToken)
 {
     this.eventBus.AddEvent(notification);
     return(Task.CompletedTask);
 }