public GenericRepository(ShopProductContext context) { _context = context; dbSet = context.Set <TEntity>(); }