示例#1
0
 public HttpResponseMessage Put([FromBody]IEnumerable<DrinkModel> data)
 {
     var logic = new DrinkLogic();
     logic.Update(data);
     var result = new
     {
         success = true,
         message = ""
     };
     return Request.CreateResponse(HttpStatusCode.OK, result);
 }