public static int Update(Sessions session) { session.SessionId = SessionDAL.Update(session); return(session.SessionId); }