Beispiel #1
0
 public bool Login(string username, string password)
 {
     SqlUserManager sum = new SqlUserManager();
     return sum.Login(username, password);
 }
Beispiel #2
0
 public User GetUserById(int id)
 {
     SqlUserManager sum = new SqlUserManager();
     return sum.GetUserById(id);
 }
Beispiel #3
0
 public User GetUserByUsername(string username)
 {
     SqlUserManager sum = new SqlUserManager();
     return sum.GetUserByUsername(username);
 }
Beispiel #4
0
 public void AddUser(string username, string password)
 {
     SqlUserManager sum = new SqlUserManager();
     sum.AddUser(username, password);
 }