Пример #1
0
        public Task HandleCredit(TransactionEvent @event)
        {
            Console.WriteLine(" = = = >> Credited {0}", @event.Amount);
            var x = @event.Data;

            return(Task.CompletedTask);
        }
Пример #2
0
 public Task HandleDebit(TransactionEvent @event)
 {
     Console.WriteLine(" = = = >> Debited {0}", @event.Amount);
     return(Task.CompletedTask);
 }