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

            await ApplyEvent(notification);
        }