private ObjectResult HandleUnhandledException(Exception exception)
 {
     return(CreateErrorResponse <ObjectResult>(ErrorResponseFactory.CreateUnhandled(exception), 500));
 }
 private static ObjectResult HandleFluentValidationException(Exception exception)
 {
     return(CreateErrorResponse <BadRequestObjectResult>(ErrorResponseFactory.CreateValidation((FluentValidation.ValidationException)exception)));
 }