public UnitOfWork(qlTheContext qlTheContext, stsdataContext stsdataContext) { _qlTheContext = qlTheContext; _stsdataContext = stsdataContext; capTheRepository = new CapTheRepository(_qlTheContext); chiNhanhRepository = new ChiNhanhRepository(_stsdataContext); chiTietCapTheRepository = new ChiTietCapTheRepository(_qlTheContext); hTTTRepository = new HTTTRepository(_qlTheContext); loaiThe_QlThe_Repository = new LoaiThe_qlThe_Repository(_qlTheContext); nhanVienRepository = new NhanVienRepository(_stsdataContext); vanPhongRepository = new VanPhongRepository(_stsdataContext); thongTinTheRepository = new ThongTinTheRepository(_qlTheContext); }
public LoaiThe_qlThe_Repository(qlTheContext context) : base(context) { }
public CapTheRepository(qlTheContext context) : base(context) { }
public Repository(qlTheContext context) { _context = context; }
public ThongTinTheRepository(qlTheContext context) : base(context) { }
public HTTTRepository(qlTheContext context) : base(context) { }