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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Minor changes
support7143a717031b
diff --git a/src/Web/Grand.Web/Controllers/DownloadController.cs b/src/Web/Grand.Web/Controllers/DownloadController.csindex 5d453e259..ff86622cf 100644--- a/src/Web/Grand.Web/Controllers/DownloadController.cs+++ b/src/Web/Grand.Web/Controllers/DownloadController.cs@@ -107,7 +107,7 @@ namespace Grand.Web.Controllersif (download.UseDownloadUrl){//increase download- order.OrderItems.FirstOrDefault(x => x.Id == orderItem.Id).DownloadCount++;+ order.OrderItems.FirstOrDefault(x => x.Id == orderItem.Id)!.DownloadCount++;await _orderService.UpdateOrder(order);//return result@@ -119,7 +119,7 @@ namespace Grand.Web.Controllersreturn Content("Download data is not available any more.");//increase download- order.OrderItems.FirstOrDefault(x => x.Id == orderItem.Id).DownloadCount++;+ order.OrderItems.FirstOrDefault(x => x.Id == orderItem.Id)!.DownloadCount++;await _orderService.UpdateOrder(order);if (product.ProductTypeId != ProductType.BundledProduct)