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); }
public static List <PhieuThuePhongDTO> LayPhongTuongUng(int makh) { return(RentalDAO.LayPhongTuongUng(makh)); }
public static bool ThemCTPhieuThuePhong(ChiTietPhieuThueDTO ct, CustomerDTO kh) { return(RentalDAO.ThemCTPhieuThuePhong(ct, kh)); }
public static List <PhieuThuePhongDTO> LayMaCTPTKeTiep() { return(RentalDAO.LayMaCTPTKeTiep()); }
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()); }