Skip to content

Commit

Permalink
Adding one more set of curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis authored Nov 27, 2018
1 parent fe0471e commit 9cca555
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Infrastructure/Data/SpecificationEvaluator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ public static IQueryable<T> GetQuery(IQueryable<T> inputQuery, ISpecification<T>

// modify the IQueryable using the specification's criteria expression
if (specification.Criteria != null)
{
query = query.Where(specification.Criteria);
}

// Includes all expression-based includes
query = specification.Includes.Aggregate(query,
Expand Down

0 comments on commit 9cca555

Please sign in to comment.