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
Fix validators
KrzysztofPajakb1606b55844b
diff --git a/src/Web/Grand.Web/Validators/Customer/RegisterValidator.cs b/src/Web/Grand.Web/Validators/Customer/RegisterValidator.csindex a9c2101ba..0cc152b4c 100644--- a/src/Web/Grand.Web/Validators/Customer/RegisterValidator.cs+++ b/src/Web/Grand.Web/Validators/Customer/RegisterValidator.cs@@ -8,6 +8,7 @@ using Grand.Web.Models.Customer;using System;using System.Collections.Generic;using Grand.SharedKernel.Extensions;+using System.Linq;namespace Grand.Web.Validators.Customer{diff --git a/src/Web/Grand.Web/Validators/Vendors/VendorAddressValidator.cs b/src/Web/Grand.Web/Validators/Vendors/VendorAddressValidator.csindex d58175841..a0ec2695d 100644--- a/src/Web/Grand.Web/Validators/Vendors/VendorAddressValidator.cs+++ b/src/Web/Grand.Web/Validators/Vendors/VendorAddressValidator.cs@@ -6,6 +6,7 @@ using Grand.Business.Common.Interfaces.Localization;using Grand.Web.Models.Vendors;using System;using System.Collections.Generic;+using System.Linq;namespace Grand.Web.Validators.Common{@@ -14,7 +15,7 @@ namespace Grand.Web.Validators.Commonpublic VendorAddressValidator(IEnumerable<IValidatorConsumer<VendorAddressModel>> validators,ITranslationService translationService,- ICountryService countryServices,+ ICountryService countryService,VendorSettings addressSettings): base(validators){