@section Scripts {
- @await Html.PartialAsync("_ValidationScriptsPartial")
+ @await Html.PartialAsync("_ValidationScriptsPartial")
}
diff --git a/src/WebRazorPages/Pages/Index.cshtml b/src/WebRazorPages/Pages/Index.cshtml
index 8cef0d307..a31f79cbb 100644
--- a/src/WebRazorPages/Pages/Index.cshtml
+++ b/src/WebRazorPages/Pages/Index.cshtml
@@ -27,18 +27,17 @@
@if (Model.CatalogModel.CatalogItems.Any())
{
- @Html.Partial("_pagination", Model.CatalogModel.PaginationInfo)
+
@foreach (var catalogItem in Model.CatalogModel.CatalogItems)
{
- @Html.Partial("_product", catalogItem)
+
}
-
- @Html.Partial("_pagination", Model.CatalogModel.PaginationInfo)
+
}
else
{