private static IHttpActionResult BadRequest(ValidationException exception)
 {
     return new BadRequestResult(exception);
 }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="exception">The validation exception</param>
        public BadRequestResult(ValidationException exception)
        {
            exception.NotNull(nameof(exception));

            Exception = exception;
        }