public Repository(CableIdentityDbContext context) { DbContext = context; DbSet = DbContext.Set <TEntity>(); }
public GenericRepository(CableIdentityDbContext dbContext) { _dbContext = dbContext; _dbSet = dbContext.Set <T>(); }