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