public UnitOfWork(DevTrainingContext dbContext) { _dbContext = dbContext; }
public Repository(DevTrainingContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public UnitOfWork(DevTrainingContext dbContext) { _dbContext = dbContext; }
public Repository(DevTrainingContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }