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