public ChiTietPhieuNhapKhoBusiness()
        {
            SMSEntities dbContext = new SMSEntities();

            _chiTietPhieuNhapRepo = new ChiTietPhieuNhapKhoRepository(dbContext);
            _hangHoaRepo          = new HangHoaRepository(dbContext);
        }
Beispiel #2
0
 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();
 }