Ejemplo n.º 1
0
        public async Task <TResult> FilterAsync(TCommand command, CancellationToken cancellationToken, OperationHandlerDelegate <TResult> next)
        {
            await _validationProvider.ValidateAndThrowAsync(command, cancellationToken);

            return(await next());
        }