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
Typo fix
KrzysztofPajak93a62b47e730
diff --git a/src/Business/Grand.Business.Checkout/Services/GiftVouchers/GiftVoucherService.cs b/src/Business/Grand.Business.Checkout/Services/GiftVouchers/GiftVoucherService.csindex 0c2d23bee..56fdd1e98 100644--- a/src/Business/Grand.Business.Checkout/Services/GiftVouchers/GiftVoucherService.cs+++ b/src/Business/Grand.Business.Checkout/Services/GiftVouchers/GiftVoucherService.cs@@ -104,7 +104,9 @@ namespace Grand.Business.Checkout.Services.GiftVouchers{if (giftVoucher == null)throw new ArgumentNullException(nameof(giftVoucher));+giftVoucher.Code = giftVoucher.Code.ToLowerInvariant();+await _giftVoucherRepository.InsertAsync(giftVoucher);//event notification@@ -121,6 +123,7 @@ namespace Grand.Business.Checkout.Services.GiftVouchersthrow new ArgumentNullException(nameof(giftVoucher));giftVoucher.Code = giftVoucher.Code.ToLowerInvariant();+await _giftVoucherRepository.UpdateAsync(giftVoucher);//event notification