示例#1
0
 public Task Handle(UpdatedClienteEvent notification, CancellationToken cancellationToken)
 {
     return(Response());
 }
示例#2
0
        public async Task Handle(UpdatedClienteEvent notification, CancellationToken cancellationToken)
        {
            await _clienteMongoRepository.UpdateAsync(notification.Cliente.Id, notification.Cliente);

            await ApplyEvent(notification);
        }