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