常用方法
常用方法
常用方法
常用方法
public HttpResponseMessage Put(Comment comment) { if (_service.AddOrUpdate(comment)) { return(Request.CreateResponse(HttpStatusCode.OK, comment)); } else { return(Request.CreateResponse(HttpStatusCode.NotModified)); } }