diff --git a/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml index 378748d..af3e49e 100644 --- a/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml +++ b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml @@ -1,11 +1,11 @@ -@using SportsStore.Domain.Entities -@model IEnumerable + +@model SportsStore.WebUI.Models.ProductsListViewModel @{ ViewBag.Title = "Products"; } -@foreach (var p in Model) +@foreach (var p in Model.Products) {

@p.Name