public BaseRepository(CatsaDbContext db) { _db = db; this.dbSet = _db.Set <TEntity>(); }
public ProxyRepository(CatsaDbContext catsaDbContext) : base(catsaDbContext) { }
public CatsaDbUnitOfWork(CatsaDbContext catsaDbContext) { _catsaDbContext = catsaDbContext ?? throw new ArgumentNullException(nameof(catsaDbContext)); }