diff --git a/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml index a85cdbd..0fa3a9e 100644 --- a/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml +++ b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml @@ -7,15 +7,9 @@ @foreach (var p in Model.Products) { -
-

- @p.Name - @p.Price.ToString("c") -

- @p.Description -
+ @Html.Partial("ProductSummary", p) } -
+
@Html.PageLinks(Model.PagingInfo, x => Url.Action("List", new { page = x}))
\ No newline at end of file