コード例 #1
0
        public static bool deletephong(Phongbject phong)
        {
            Phongmodel c = new Phongmodel();

            c.Xoaphong(phong);
            return(true);
        }
コード例 #2
0
        public static bool addphong(Phongbject phong)
        {
            Phongmodel b = new Phongmodel();

            b.insertphong(phong);
            return(true);
        }
コード例 #3
0
        public static bool updatephong(Phongbject phong)
        {
            Phongmodel c = new Phongmodel();

            c.suaphong(phong);
            return(true);
        }
コード例 #4
0
        public static DataTable getdataphbygiap(int giap)
        {
            Phongmodel a = new Phongmodel();

            return(a.timphbygiap(giap));
        }
コード例 #5
0
        public static DataTable getdataphbyttp(string ttp)
        {
            Phongmodel a = new Phongmodel();

            return(a.timphbyttp(ttp));
        }
コード例 #6
0
        public static DataTable getdataphbyhangp(string hangp)
        {
            Phongmodel a = new Phongmodel();

            return(a.timphbyhangp(hangp));
        }
コード例 #7
0
        public static DataTable getdataphbyloaip(string loaip)
        {
            Phongmodel a = new Phongmodel();

            return(a.timphbyloaip(loaip));
        }
コード例 #8
0
        public static DataTable getdatap()
        {
            Phongmodel a = new Phongmodel();

            return(a.getdatap());
        }