diff --git a/src/Web/WebMVC/Services/CatalogService.cs b/src/Web/WebMVC/Services/CatalogService.cs index d4899b453..c4ba9fe3d 100644 --- a/src/Web/WebMVC/Services/CatalogService.cs +++ b/src/Web/WebMVC/Services/CatalogService.cs @@ -45,11 +45,12 @@ namespace Microsoft.eShopOnContainers.WebMVC.Services var responseString = await _httpClient.GetStringAsync(uri); - var items = new List(); - - items.Add(new SelectListItem() { Value = null, Text = "All", Selected = true }); + var items = new List + { + new SelectListItem() { Value = null, Text = "All", Selected = true } + }; - var brands = JArray.Parse(responseString); + var brands = JArray.Parse(responseString); foreach (var brand in brands.Children()) {