title: Cannot implicitly convert type ‘System.Linq.IQueryable’ to ‘System.Collections.Generic.IEnumerable’
body: <p>I am trying to search the product name using the given keyword but my boilerplate throw me error </p>
  
  <p>I tried </p>
  
  <pre><code>protected override IQueryable&lt;Product&gt; CreateFilteredQuery(PagedProductResultRequestDto input)
  {
      return base.CreateFilteredQuery(input).
          WhereIf(input.Keyword.IsNullOrWhiteSpace(), x =&gt; x.Name.Contains(input.Keyword));
  }
  </code></pre>
  
  <p>gave me error </p>
  
  <blockquote>
    <p>Cannot implicitly convert type ‘System.Linq.IQueryable’ to
    ‘System.Collections.Generic.IEnumerable’. An explicit conversion
    exists (are you missing a cast?)</p>
  </blockquote>