public override void OnActionExecuting(HttpActionContext actionContext)
 {
     if (actionContext.ModelState.IsValid == false)
     {
         SkyModelStateError error = new SkyModelStateError(actionContext.ModelState);
         actionContext.Response = actionContext.Request.CreateResponse(HttpStatusCode.OK, error);
     }
 }
 public override void OnActionExecuting(HttpActionContext actionContext)
 {
     if (actionContext.ModelState.IsValid == false)
     {
         SkyModelStateError error = new SkyModelStateError(actionContext.ModelState);
         actionContext.Response = actionContext.Request.CreateResponse(HttpStatusCode.OK, error);
     }
 }
 public SkyApiBadRequest(HttpRequestMessage request, SkyModelStateError error)
 {
     Request = request;
     Error = error;
 }