コード例 #1
0
 public string PostNest(Nest a)
 {
     if (!ModelState.IsValid)
     {
         throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
     }
     return("success from PostNest");
 }
コード例 #2
0
 public string PostNest(Nest a)
 {
     if (!ModelState.IsValid)
     {
         throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError));
     }
     return "success from PostNest";
 }