public IHttpActionResult put(int id) { ProjectBAL obj = new ProjectBAL(); obj.Suspendtask(id); return(Ok("Record Updated")); }