public BaoCaoBanHangBusiness() { dbContext = new QLWebDBEntities(); _nhanVienRepo = new NhanVienReponsitory(dbContext); _nhanVienBus = new NhanVienBusiness(); _baoCaoBanHangRepo = new BaoCaoBanHangReponsitory(dbContext); _phieuBanHangRepo = new PhieuBanHangReponsitory(dbContext); }
public PhieuBanHangBusiness() { dbContext = new QLWebDBEntities(); _phieuBanHangRepo = new PhieuBanHangReponsitory(dbContext); _nhanVienRepo = new NhanVienReponsitory(dbContext); _hangHoaRepo = new HangHoaReponsitory(dbContext); _chiTietPhieuBanHangRepo = new ChiTietPhieuBanHangReponsitory(dbContext); _nhanVienBus = new NhanVienBusiness(); _hangHoaBus = new HangHoaBusiness(); }