public bool AddUserToGroup(int groupID, string users)
 {
     bool flag = false;
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysUserDao userDao = new SysUserDao();
         userDao.UpdateEntity(groupID, users);
         flag = true;
     }
     return flag;
 }
 public bool ChangePassword(string userName, string password)
 {
     bool flag = false;
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysUserDao userDao = new SysUserDao();
         userDao.UpdateEntity(userName, password);
         flag = true;
     }
     return flag;
 }
 public bool DeleteUserFromGroup(int userID)
 {
     
     bool flag = false;
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysUserDao userDao = new SysUserDao();
         userDao.UpdateEntity(userID);
         flag = true;
     }
     return flag;
 }
 public bool Update(DataSet dataSet)
 {
     bool flag = false;
     using (PersistentManager persistentManager = new PersistentManager())
     {
         SysUserDao UserDao = new SysUserDao();
         UserDao.UpdateEntity(dataSet);
         flag = true;
     }
     return flag;
 }