public PhieuBanHangBusiness() { dbContext = new SMSEntities(); _phieuBanHangRepo = new PhieuBanHangRepository(dbContext); _nhanVienRepo = new NhanVienRepository(dbContext); _hangHoaRepo = new HangHoaRepository(dbContext); _nhanVienBus = new NhanVienBusiness(); _hangHoaBus = new HangHoaBusiness(); }
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(); }
public PhieuXuatKhoBusiness() { dbContext = new SMSEntities(); _phieuXuatKhoRepo = new PhieuXuatKhoRepository(dbContext); _nhanVienRepo = new NhanVienRepository(dbContext); _chiTietPhieuXuatKhoRepo = new ChiTietPhieuXuathoRepository(dbContext); _hangHoaRepo = new HangHoaRepository(dbContext); _nhanVienBus = new NhanVienBusiness(); _hangHoaBus = new HangHoaBusiness(); }
public PhieuXuatKhoBusiness() { _dbContext = new QLWebDBEntities(); _phieuXuatKhoRepo = new PhieuXuatKhoReponsitory(_dbContext); _nhanVienRepo = new NhanVienReponsitory(_dbContext); _hangHoaRepo = new HangHoaReponsitory(_dbContext); _chiTietPhieuXuatKhoRepo = new ChiTietPhieuXuatKhoReponsitory(_dbContext); _nhanVienBus = new NhanVienBusiness(); _hangHoaBus = new HangHoaBusiness(); }
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(); }