Example #1
0
 public Task Handle(VendedorUpdateNotification notification, CancellationToken cancellationToken)
 {
     return(Task.Run(() =>
     {
         Console.WriteLine($"ALTERACAO: '{notification.Id} - {notification.Nome} - {notification.DataCadastro} - {notification.Ativo} - {notification.IsEfetivado}'");
     }));
 }
Example #2
0
 public Task Handle(VendedorUpdateNotification notification, CancellationToken cancellationToken)
 {
     return(Task.CompletedTask);
 }