public PhieuNhapKhoBusiness() { dbContext = new QLWebDBEntities(); _phieuNhapRepo = new PhieuNhapReponsitory(dbContext); _nhanVienRepo = new NhanVienReponsitory(dbContext); _hangHoaRepo = new HangHoaReponsitory(dbContext); _nhaCungCapRepo = new NhaCungCapReponsitory(dbContext); _chiTietPhieuNhapRepo = new ChiTietPhieuNhapReponsitory(dbContext); _nhanVienBus = new NhanVienBusiness(); _hangHoaBus = new HangHoaBusiness(); _baoCaoTonKhoBus = new BaoCaoTonKhoBusiness(); }
public NhaCungCapBusiness() { _dbContext = new QLWebDBEntities(); _nhaCungCapRepo = new NhaCungCapReponsitory(_dbContext); }