title: Return all entities from an Expression<Func<T, bool>> Entity Framework Core
body: <p>As the title says I want to return all entities which matches an <code>Expression&lt;Func&lt;T, bool&gt;&gt;</code> in EF Core. I've created the FirstOrDefaultAsync, but I cannot find any way to return all entities which matches the predicate.</p>
  
  <pre><code>public async Task&lt;TEntity&gt; ReadAsync(Expression&lt;Func&lt;TEntity, bool&gt;&gt; predicate)
  {
      return await _dbContext.Set&lt;TEntity&gt;().FirstOrDefaultAsync(predicate);
  }
  </code></pre>
  
  <p>I've seen examples where the <code>Where</code> method is used, but this is not listed as an alternative method. How can I return all entities which matches the predicate in EF Core?</p>