public bool Login(string user, string password) { if (AccQuery.Login(user, password)) { User = user; return(true); } return(false); }
public bool Register(string user, string password) { return(AccQuery.AddAccount(user, password)); }
public bool Login(string user, string password) { if (AccQuery.Login(user, password)) { User = user; return(true); } return(false); }
public bool Register(string user, string password) { return(AccQuery.AddAccount(user, password)); }