示例#1
0
 public HttpResponseMessage ResetLands(int regionId, HttpRequestMessage request)
 {
     if (landRepository.ResetLands(regionId))
     {
         return(new HttpResponseMessage()
         {
             StatusCode = HttpStatusCode.OK
         });
     }
     return(new HttpResponseMessage(HttpStatusCode.BadRequest));
 }