public HttpResponseMessage Get(int value) { try { ManageDB.SetCO2Value(value); return(Request.CreateResponse(HttpStatusCode.OK)); } catch { return(Request.CreateResponse(HttpStatusCode.BadRequest)); } }
public HttpResponseMessage Get(int value) { try { ManageDB.SetCO2Value(value); return(Request.CreateResponse(HttpStatusCode.OK)); } catch { return(Request.CreateResponse(HttpStatusCode.BadRequest)); } }