public Repository(BookProvidersContext context) { Context = context; DbSet = context.Set <TEntity>(); }