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 VanPhongRepository(stsdataContext context) : base(context) { }
public Repository_stsdata(stsdataContext context) { _context = context; }
public NhanVienRepository(stsdataContext context) : base(context) { }
public ChiNhanhRepository(stsdataContext context) : base(context) { }