Skip to content

Commit

Permalink
Merge branch '4.60-bug-fixes' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
skoshelev committed Mar 7, 2023
2 parents 8550dde + d0b9017 commit 0eebc4b
Showing 1 changed file with 19 additions and 0 deletions.
@@ -0,0 +1,19 @@
using FluentValidation;
using Nop.Core.Domain.Common;
using Nop.Data.Mapping;
using Nop.Services.Localization;
using Nop.Web.Areas.Admin.Models.Customers;
using Nop.Web.Areas.Admin.Validators.Common;

namespace Nop.Web.Areas.Admin.Validators.Customers
{
public partial class CustomerAddressValidator : AbstractValidator<CustomerAddressModel>
{
public CustomerAddressValidator(ILocalizationService localizationService,
IMappingEntityAccessor mappingEntityAccessor,
AddressSettings addressSettings)
{
RuleFor(model => model.Address).SetValidator(new AddressValidator(addressSettings, localizationService, mappingEntityAccessor));
}
}
}

0 comments on commit 0eebc4b

Please sign in to comment.