Adding one more set of curly braces

This commit is contained in:
Steve Smith
2018-11-27 10:12:22 -05:00
committed by GitHub
parent fe0471eea4
commit 9cca5553e2

View File

@@ -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,