diff --git a/src/ApplicationCore/Specifications/CatalogItemNameSpecification.cs b/src/ApplicationCore/Specifications/CatalogItemNameSpecification.cs index 2a2b9e3..4832ad8 100644 --- a/src/ApplicationCore/Specifications/CatalogItemNameSpecification.cs +++ b/src/ApplicationCore/Specifications/CatalogItemNameSpecification.cs @@ -7,7 +7,7 @@ namespace Microsoft.eShopWeb.ApplicationCore.Specifications { public CatalogItemNameSpecification(string catalogItemName) { - Query.Where(item => string.Compare(catalogItemName, item.Name, true) == 0); + Query.Where(item => catalogItemName == item.Name); } } }