public Repository(EncyclopedyContext db) { _db = db; _dbSet = db.Set <TEntity>(); }
public UnitOfWork() { _db = new EncyclopedyContext(); }
public Repository(EncyclopedyContext db) { _db = db; _dbSet = db.Set <TEntity>(); }
public UnitOfWork() { _db = new EncyclopedyContext(); }