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