public IHttpActionResult Logout(AccessControl control) { AccessControl ac = AccessControl.find(db, control.TOKEN); if (ac == null) { return(NotFound()); } ac.Delete(db); return(StatusCode(HttpStatusCode.OK)); }