Exemplo n.º 1
0
        public HttpResponseMessage Put(tppoint e)
        {
            var ppoint = BLLPpoint.UpdatePPoint(e);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, ppoint);

            return(response);
        }
Exemplo n.º 2
0
 // PUT: api/createpp/5
 public void Put([FromBody] string value)
 {
     var data   = JsonConvert.DeserializeObject <tppoint>(value);
     var ppoint = BLLPpoint.UpdatePPoint(data);
     HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, ppoint);
 }