diff --git a/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj index 0784870..7c78d2f 100644 --- a/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj +++ b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj @@ -136,7 +136,7 @@ - + Global.asax @@ -179,6 +179,7 @@ + diff --git a/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml new file mode 100644 index 0000000..07e44d2 --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml @@ -0,0 +1,14 @@ +@model IEnumerable + +@{ + ViewBag.Title = "Products"; +} + +@foreach (var p in Model) +{ +
+

@p.Name

+ @p.Description +

@p.Price.ToString("c")

+
+}