Esempio n. 1
0
        public static bool ThemPhieuThuePhong(ChiTietPhieuThueDTO ct, PhieuThuePhongDTO p)
        {
            int i = DateTime.Compare(p.NgayThue, p.NgayTraPhong.Value);

            if (i <= 0)
            {
                return(PhieuThueDAO.ThemPhieuThuePhong(ct, p));
            }
            return(false);
        }