public bool isLogin(string username) { List <SystemUser> allUsers = (List <SystemUser>)sl.getAllUsers(); foreach (SystemUser user in allUsers) { if (user.name == username) { return(true); } } return(false); }
public bool isLogin(string username) { List <SystemUser> allUsers = (List <SystemUser>)sl.getAllUsers(); foreach (SystemUser user in allUsers) { if (user.name == username) { return(true); } } return(false); }