private ValidatedResult <TResponse> GetValidatedResult <TResponse>(IRequest <TResponse> request, ValidationSummary validationSummary)
        {
            var validationResult = new ValidatedResult <TResponse> {
                ValidationSummary = validationSummary
            };

            if (validationSummary.IsValid)
            {
                var response = GetResult(request);
                validationResult.Result = response;
            }

            using (LoggerContext.DecorateWithUser())
            {
                _logger.Debug("Response {@validationResult} for {User}", request);
            }


            return(validationResult);
        }