Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Minor changes with OutOfStockSubscriptionController.cs

support9c039b2401c5
diff --git a/src/Web/Grand.Web/Controllers/OutOfStockSubscriptionController.cs b/src/Web/Grand.Web/Controllers/OutOfStockSubscriptionController.cs
index 11f425142..80302f111 100644
--- a/src/Web/Grand.Web/Controllers/OutOfStockSubscriptionController.cs
+++ b/src/Web/Grand.Web/Controllers/OutOfStockSubscriptionController.cs
@@ -91,7 +91,7 @@ namespace Grand.Web.Controllers
_translationService.GetResource("OutOfStockSubscriptions.NotifyMeWhenAvailable"));
}
- [HttpPost, ActionName("SubscribePopup")]
+ [HttpPost]
public virtual async Task<IActionResult> SubscribePopup(ProductModel model)
{
var product = await _productService.GetProductById(model.ProductId);
@@ -236,7 +236,7 @@ namespace Grand.Web.Controllers
return View(model);
}
- [HttpPost, ActionName("CustomerSubscriptions")]
+ [HttpPost]
public virtual async Task<IActionResult> CustomerSubscriptions(string[] subscriptions)
{
foreach (var id in subscriptions)