Browse Source

Adding one more set of curly braces

main
Steve Smith 7 years ago
committed by GitHub
parent
commit
9cca5553e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Infrastructure/Data/SpecificationEvaluator.cs

2
src/Infrastructure/Data/SpecificationEvaluator.cs

@ -16,7 +16,9 @@ namespace Microsoft.eShopWeb.Infrastructure.Data
// 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,

Loading…
Cancel
Save