public NhanVienBusiness()
 {
     _dbContext         = new QLWebDBEntities();
     _chucVuRepo        = new ChucVuReponsitory(_dbContext);
     _nhanVienRepo      = new NhanVienReponsitory(_dbContext);
     _nhanVienQuyenRepo = new NhanVien_QuyenReponsitory(_dbContext);
 }
Пример #2
0
 public BaoCaoPhieuChiBusiness()
 {
     dbContext     = new QLWebDBEntities();
     _phieuChiRepo = new PhieuChiReponsitory(dbContext);
     _nhanVienRepo = new NhanVienReponsitory(dbContext);
     _nhanVienBus  = new NhanVienBusiness();
 }
Пример #3
0
 public BaoCaoDatHangBusiness()
 {
     dbContext         = new QLWebDBEntities();
     _phieuDatHangRepo = new PhieuDatHangReponsitory(dbContext);
     _nhanVienRepo     = new NhanVienReponsitory(dbContext);
     _hangHoaRepo      = new HangHoaReponsitory(dbContext);
     _nhanVienBus      = new NhanVienBusiness();
 }
Пример #4
0
        public BaoCaoBanHangBusiness()
        {
            dbContext = new QLWebDBEntities();

            _nhanVienRepo      = new NhanVienReponsitory(dbContext);
            _nhanVienBus       = new NhanVienBusiness();
            _baoCaoBanHangRepo = new BaoCaoBanHangReponsitory(dbContext);
            _phieuBanHangRepo  = new PhieuBanHangReponsitory(dbContext);
        }
 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();
 }
Пример #7
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();
 }