public List <PhongTro> ThongKePhongNo(DateTime now) { ThongKeDAL dal = new ThongKeDAL(); List <PhongTro> dsphong = dal.ThongKePhongNo(now); return(dsphong); }
public List <PhongTro> ThongKePhongTrong() { ThongKeDAL dal = new ThongKeDAL(); List <PhongTro> dsphong = dal.ThongKePhongTrong(); return(dsphong); }
public void Test_ss() { ThongKeDAL thongKeDAL = new ThongKeDAL(); OrderTour orderTour = new OrderTour(); Assert.IsTrue(thongKeDAL.ss()); }
public void Test_thongke() { ThongKeDAL thongKeDAL = new ThongKeDAL(); OrderTour orderTour = new OrderTour(); Assert.IsNotNull(thongKeDAL.InsertThongKe()); }
public bool conSach(int id) { int TongSoSach = sachDAL.getSachById(id).SoLuong; ThongKeDAL thongke = new ThongKeDAL(); int DangChoMuon = thongke.SoSachDangChoMuon(id); if (TongSoSach > DangChoMuon) return true; return false; }
public ThongKeBUSImpl() { this.thongKeDAL = ThongKeDALImpl.Instance; }