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.

Add missing namespace

supportc199c05e2039
diff --git a/src/Web/Grand.Web.Admin/Validators/Orders/GiftVoucherDeleteModelValidator.cs b/src/Web/Grand.Web.Admin/Validators/Orders/GiftVoucherDeleteModelValidator.cs
index 1ace29d7b..408d58096 100644
--- a/src/Web/Grand.Web.Admin/Validators/Orders/GiftVoucherDeleteModelValidator.cs
+++ b/src/Web/Grand.Web.Admin/Validators/Orders/GiftVoucherDeleteModelValidator.cs
@@ -4,6 +4,8 @@ using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Infrastructure.Validators;
using Grand.Web.Admin.Models.Orders;
+namespace Grand.Web.Admin.Validators.Orders;
+
public class GiftVoucherDeleteModelValidator : BaseGrandValidator<GiftVoucherDeleteModel>
{
public GiftVoucherDeleteModelValidator(
diff --git a/src/Web/Grand.Web.Admin/Validators/Orders/OrderAddressModelValidator.cs b/src/Web/Grand.Web.Admin/Validators/Orders/OrderAddressModelValidator.cs
index 9367afb3a..5863cab41 100644
--- a/src/Web/Grand.Web.Admin/Validators/Orders/OrderAddressModelValidator.cs
+++ b/src/Web/Grand.Web.Admin/Validators/Orders/OrderAddressModelValidator.cs
@@ -1,13 +1,13 @@
using FluentValidation;
using Grand.Business.Core.Interfaces.Checkout.Orders;
-using Grand.Business.Core.Interfaces.Checkout.Shipping;
using Grand.Business.Core.Interfaces.Common.Addresses;
using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Domain.Common;
using Grand.Infrastructure.Validators;
using Grand.Web.Admin.Extensions;
using Grand.Web.Admin.Models.Orders;
-using Microsoft.AspNetCore.Mvc;
+
+namespace Grand.Web.Admin.Validators.Orders;
public class OrderAddressModelValidator : BaseGrandValidator<OrderAddressModel>
{
diff --git a/src/Web/Grand.Web.Admin/Validators/Orders/OrderDeleteModelValidator.cs b/src/Web/Grand.Web.Admin/Validators/Orders/OrderDeleteModelValidator.cs
index b38a3bc23..b7934885b 100644
--- a/src/Web/Grand.Web.Admin/Validators/Orders/OrderDeleteModelValidator.cs
+++ b/src/Web/Grand.Web.Admin/Validators/Orders/OrderDeleteModelValidator.cs
@@ -4,6 +4,8 @@ using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Infrastructure.Validators;
using Grand.Web.Admin.Models.Orders;
+namespace Grand.Web.Admin.Validators.Orders;
+
public class OrderDeleteModelValidator : BaseGrandValidator<OrderDeleteModel>
{
public OrderDeleteModelValidator(