public UnitOfWork(ModelArchContext context) { _dbContext = context; }
public GenericRepository(ModelArchContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork(ModelArchContext context) { _dbContext = context; }
public GenericRepository(ModelArchContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }