// PUT api/tag/5 public HttpResponseMessage Put(Tag tag) { //TODO: Validation if(db.Insert(tag)) return Request.CreateResponse(HttpStatusCode.Created); return Request.CreateResponse(HttpStatusCode.BadRequest); }
// POST api/tag public HttpResponseMessage Post(Tag tag) { return Request.CreateResponse(HttpStatusCode.NotImplemented); }