public Object Login(string userName, string passWord) { Object kq; if (userName.Contains("sv")) { kq = svDAL.CheckLogInSinhVien(userName, passWord); } else if (userName.Contains("gv")) { kq = gvDAL.CheckLogInGiangVien(userName, passWord); } else { kq = nvDAL.CheckLogInNhanVienPDT(userName, passWord); } return(kq); }