diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Basket.cshtml b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Basket.cshtml new file mode 100644 index 00000000..26f62c81 --- /dev/null +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Basket.cshtml @@ -0,0 +1,14 @@ +@page +@using EShopOnAbp.PublicWeb.Components.Basket +@model EShopOnAbp.PublicWeb.Pages.Basket + +@{ + +} + +
+

Your Basket

+
+ @await Component.InvokeAsync(typeof(BasketWidgetViewComponent)) +
+
\ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Basket.cshtml.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Basket.cshtml.cs new file mode 100644 index 00000000..8de8b3c4 --- /dev/null +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Basket.cshtml.cs @@ -0,0 +1,11 @@ +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace EShopOnAbp.PublicWeb.Pages; + +public class Basket : PageModel +{ + public void OnGet() + { + + } +} \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.cshtml.cs b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.cshtml.cs index e7874572..c762a0d5 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.cshtml.cs +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Catalog.cshtml.cs @@ -14,7 +14,7 @@ public class Catalog : PageModel { _productAppService = productAppService; } - + public async Task OnGetAsync() { Products = (await _productAppService.GetListAsync()).Items;