public UserLevelCollections SelectList()
        {
            UserLevelCollections collection = new UserLevelCollections();
            IDataReader          Reader     = DataAccess.SelectList();

            while (Reader.Read())
            {
                UserLevelInfo userlevelinfo = new UserLevelInfo();

                userlevelinfo.UserLevelID   = Convert.ToString(Reader["UserLevelID"]);
                userlevelinfo.UserLevelCode = Convert.ToString(Reader["UserLevelCode"]);
                userlevelinfo.UserLevel     = Convert.ToString(Reader["UserLevel"]);
                collection.Add(userlevelinfo);
            }
            Reader.Close();
            return(collection);
        }
 public void UpdateByUserLevelID(UserLevelInfo userLevelInfo)
 {
     DataAccess.UpdateByUserLevelID(userLevelInfo.UserLevelID, userLevelInfo.UserLevelCode, userLevelInfo.UserLevel);
 }
 public void Insert(UserLevelInfo userLevelInfo)
 {
     DataAccess.Insert(userLevelInfo.UserLevelID, userLevelInfo.UserLevelCode, userLevelInfo.UserLevel);
 }