public string PostNest(Nest a) { if (!ModelState.IsValid) { throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError)); } return("success from PostNest"); }
public string PostNest(Nest a) { if (!ModelState.IsValid) { throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.InternalServerError)); } return "success from PostNest"; }