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

            if (i <= 0)
            {
                return(RentalDAO.ThemPhieuThuePhong(ct, p));
            }
            return(false);
        }
Example #2
0
 public static List <PhieuThuePhongDTO> LayPhongTuongUng(int makh)
 {
     return(RentalDAO.LayPhongTuongUng(makh));
 }
Example #3
0
 public static bool ThemCTPhieuThuePhong(ChiTietPhieuThueDTO ct, CustomerDTO kh)
 {
     return(RentalDAO.ThemCTPhieuThuePhong(ct, kh));
 }
Example #4
0
 public static List <PhieuThuePhongDTO> LayMaCTPTKeTiep()
 {
     return(RentalDAO.LayMaCTPTKeTiep());
 }
Example #5
0
 public static List <CustomerDTO> LayMaKHKeTiep()
 {
     return(RentalDAO.LayMaKHKeTiep());
 }
 public static bool ThemCTPhieuThuePhong(ChiTietPhieuThueDTO ct, KhachHangDTO kh)
 {
     return(RentalDAO.ThemCTPhieuThuePhong(ct, kh));
 }
 public static List <KhachHangDTO> LayMaKHKeTiep()
 {
     return(RentalDAO.LayMaKHKeTiep());
 }