protected override async Task <TResponse> Process(TCommand command, CancellationToken cancellationToken, RequestHandlerDelegate <TResponse> next)
        {
            //se o Command estiver inválido, os erros são notificados.
            if (!await command.IsValid())
            {
                await _notifiable.NotifyValidationErrors(command.ValidationResult);

                return(default);