public HttpResponseMessage Delete([FromUri] int Id, [FromBody] int modifiedBy) { ItemInstance it = new ItemInstance(); it.ID = Id; it.ModifiedBy = modifiedBy; return(Request.CreateResponse(HttpStatusCode.OK, it.Delete())); }