// DELETE: api/WebApiTask/5 public IHttpActionResult Delete(int id) { Tasks T = TS.GetById(id); TS.Delete(T); TS.Commit(); return(Ok(T)); }
// DELETE: api/WebApiTask/5 public IHttpActionResult Delete(int id) { Tasks T = TS.GetById(id); TS.Delete(T); TS.Commit(); return(Ok(T)); }