public UnitOfWork() { this._context = new TestEntities(); }
public GenericRepository(TestEntities context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork() { this._context = new TestEntities(); }
public GenericRepository(TestEntities context) { this.context = context; this.dbSet = context.Set <TEntity>(); }