public User LogInnUser(string passwd, string username) { var UserDAL = new UserDAL(testing); return UserDAL.LogInnUser(passwd, username); }
public bool UpdateUserApproved(int id, bool status) { var UserDAL = new UserDAL(testing); return UserDAL.UpdateUserApproved(id, status); }
public bool InsertUser(User user) { var UserDAL = new UserDAL(testing); return UserDAL.InsertUser(user); }
public User GetExact(int id) { var UserDAL = new UserDAL(testing); return UserDAL.GetExact(id); }
public List<User> GetAllWithoutPasswd() { var UserDAL = new UserDAL(testing); return UserDAL.GetAllWithoutPasswd(); }
public bool DeleteUser(User user) { var UserDAL = new UserDAL(testing); return UserDAL.DeleteUser(user); }
public bool CheckIfUsernameExists(string username) { var UserDAL = new UserDAL(testing); return UserDAL.CheckIfUsernameExists(username); }