Ejemplo n.º 1
0
 public async Task Handle(AddSubTransaction.Notification notification, CancellationToken cancellationToken)
 {
     await _mediator.Publish(new TransactionsTotalAmountChanged.Notification
     {
         ReferenceTransaction = notification.Transaction
     }, cancellationToken);
 }
 public async Task Handle(AddSubTransaction.Notification notification, CancellationToken cancellationToken)
 {
     await _transactionNotificationsHub.Send(TransactionNotificationEvents.TransactionUpdated, notification);
 }