public bool isAuthencation(StudentDTO user) { StudentDAO ud = new StudentDAO(); if (ud.CheckPassword(user) == true) return true; else return false; }
public bool isAuthencation(StudentDTO user) { StudentDAO ud = new StudentDAO(); if (ud.CheckPassword(user) == true) { return(true); } else { return(false); } }