public ChiTietPhieuNhapKhoBusiness() { SMSEntities dbContext = new SMSEntities(); _chiTietPhieuNhapRepo = new ChiTietPhieuNhapKhoRepository(dbContext); _hangHoaRepo = new HangHoaRepository(dbContext); }
public PhieuNhapKhoBusiness() { dbContext = new SMSEntities(); _phieuNhapKhoRepo = new PhieuNhapKhoRepository(dbContext); _nhanVienRepo = new NhanVienRepository(dbContext); _nhaCungCapRepo = new NhaCungCapRepository(dbContext); _chiTietPhieuNhapKhoRepo = new ChiTietPhieuNhapKhoRepository(dbContext); _hangHoaRepo = new HangHoaRepository(dbContext); _hangHoaBus = new HangHoaBusiness(); _nhanVienBus = new NhanVienBusiness(); }