示例#1
0
        public IHttpActionResult DeleteSession(string sessionKey, int loggedId)
        {
            Session session = AuthHandler.DeleteSession(sessionKey, db);

            if (session == null)
            {
                return(NotFound());
            }
            return(Ok(session));
        }