示例#1
0
 public User LogInnUser(string passwd, string username)
 {
     var UserDAL = new UserDAL(testing);
     return UserDAL.LogInnUser(passwd, username);
 }
示例#2
0
 public bool UpdateUserApproved(int id, bool status)
 {
     var UserDAL = new UserDAL(testing);
     return UserDAL.UpdateUserApproved(id, status);
 }
示例#3
0
 public bool InsertUser(User user)
 {
     var UserDAL = new UserDAL(testing);
     return UserDAL.InsertUser(user);
 }
示例#4
0
 public User GetExact(int id)
 {
     var UserDAL = new UserDAL(testing);
     return UserDAL.GetExact(id);
 }
示例#5
0
 public List<User> GetAllWithoutPasswd()
 {
     var UserDAL = new UserDAL(testing);
     return UserDAL.GetAllWithoutPasswd();
 }
示例#6
0
 public bool DeleteUser(User user)
 {
     var UserDAL = new UserDAL(testing);
     return UserDAL.DeleteUser(user);
 }
示例#7
0
 public bool CheckIfUsernameExists(string username)
 {
     var UserDAL = new UserDAL(testing);
     return UserDAL.CheckIfUsernameExists(username);
 }