Esempio n. 1
0
 public Task Handle(TransferCreatedEvent @event)
 {
     _transferRepository.AddTransferLogs(new TransferLog()
     {
         FromAccount    = @event.From,
         ToAccount      = @event.To,
         TransferAmount = @event.Amount
     });
     return(Task.CompletedTask);
 }