Esempio n. 1
0
 public Task Handle(RemovedClienteEvent notification, CancellationToken cancellationToken)
 {
     return(Response());
 }
Esempio n. 2
0
        public async Task Handle(RemovedClienteEvent notification, CancellationToken cancellationToken)
        {
            await _clienteMongoRepository.RemoveAsync(notification.Cliente.Id);

            await ApplyEvent(notification);
        }