예제 #1
0
 public ObjectResultBase(HttpStatusCode httpStatus) : base(null)
 {
     this.StatusCode = (int)httpStatus;
     this.Value      = ProblemDetailsFactory.New(httpStatus);
 }
예제 #2
0
 public ObjectResultBase(HttpStatusCode httpStatus, ModelStateDictionary modelState) : base(null)
 {
     this.StatusCode = (int)httpStatus;
     this.Value      = ProblemDetailsFactory.New(httpStatus, modelState);
 }