예제 #1
0
        public int AdminLogin(string tenDangNhap, string matKhau)
        {
            TaiKhoan_DAO user_DAO = new TaiKhoan_DAO();

            if (user_DAO.CheckAdminLogin(tenDangNhap, matKhau) == 1)
            {
                return(1);
            }
            return(0);
        }