//UserDL public bool AddUser(string user, string pwd, string cpwd, string s_ques, string ans, string gnder, Interest[] intrst) { UserDL D = new UserDL(); bool a = D.AddUser(user, pwd, cpwd, s_ques, ans, gnder, intrst); return(a); }
//public Image getImage(string user) //{ // UserDL U = new UserDL(); // Image s = U.getImage(user); // return s; //} public bool Logout_U() { UserDL D = new UserDL(); bool m = D.Logout_U(); return(m); }
public List <User> GetUser() { UserDL U = new UserDL(); List <User> k = U.GetUser(); return(k); }
public List <Interest> getGenre(string usernme) { UserDL U = new UserDL(); List <Interest> s = U.getGenre(usernme); return(s); }
public bool SetImage(string user, System.Drawing.Image imag) { UserDL U = new UserDL(); bool s = U.SetImage(user, imag); return(s); }
public bool Login(string user, string pwd) { UserDL D = new UserDL(); bool a = D.Login(user, pwd); return(a); }
public bool ResetPassword(string user, string pwd, string cpwd, string s_ques, string ans) { UserDL D = new UserDL(); bool a = D.ResetPassword(user, pwd, cpwd, s_ques, ans); return(a); }
public void Delete(Int32 index) { UserDL D = new UserDL(); D.Delete(index); }