public IHttpActionResult Delete(long id) { if (Logic.Delete(id)) { return(Ok()); } else { return(NotFound()); } }