public GenericRepository(SiennDbContext context) { Context = context; Entities = context.Set <TEntity>(); }
protected GenericRepository(SiennDbContext context) { Context = context; _entities = context.Set <TEntity>(); }