public ChiTietPhieuDatHangBusiness()
 {
     dbContext = new QLWebDBEntities();
     _chiTietPhieuDatHangRepo = new ChiTietPhieuDatHangReponsitory(dbContext);
     _hangHoaRepo             = new HangHoaReponsitory(dbContext);
     _loaiHangHoaRepo         = new LoaiHangHoaReponsitory(dbContext);
 }
Beispiel #2
0
 public BaoCaoDatHangBusiness()
 {
     dbContext         = new QLWebDBEntities();
     _phieuDatHangRepo = new PhieuDatHangReponsitory(dbContext);
     _nhanVienRepo     = new NhanVienReponsitory(dbContext);
     _hangHoaRepo      = new HangHoaReponsitory(dbContext);
     _nhanVienBus      = new NhanVienBusiness();
 }
 public PhieuKiemKhoBusiness()
 {
     dbContext                = new QLWebDBEntities();
     _phieuKiemKhoRepo        = new PhieuKiemKhoReponsitory(dbContext);
     _nhanVienRepo            = new NhanVienReponsitory(dbContext);
     _hangHoaRepo             = new HangHoaReponsitory(dbContext);
     _chiTietPhieuKiemKhoRepo = new ChiTietPhieuKiemKhoReponsitory(dbContext);
     _nhanVienBus             = new NhanVienBusiness();
 }
 public PhieuBaoHanhBusiness()
 {
     _dbContext               = new QLWebDBEntities();
     _phieuBaoHanhRepo        = new PhieuBaoHanhReponsitory(_dbContext);
     _chiTietPhieuBaoHanhRepo = new ChiTietPhieuBaoHanhReponsitory(_dbContext);
     _nhanVienRepo            = new NhanVienReponsitory(_dbContext);
     _hangHoaRepo             = new HangHoaReponsitory(_dbContext);
     _nhanVienBus             = new NhanVienBusiness();
     _hangHoaBus              = new HangHoaBusiness();
 }
Beispiel #5
0
 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 BaoCaoTonKhoBusiness()
 {
     dbContext         = new QLWebDBEntities();
     _hangHoaRepo      = new HangHoaReponsitory(dbContext);
     _baoCaoTonKhoRepo = new BaoCaoTonKhoReponsitory(dbContext);
 }
Beispiel #7
0
 public BaoCaoHangHoaBusiness()
 {
     dbContext        = new QLWebDBEntities();
     _hangHoaRepo     = new HangHoaReponsitory(dbContext);
     _loaiHangHoaRepo = new LoaiHangHoaReponsitory(dbContext);
 }