Try your search with a different keyword or use * as a wildcard.
using FluentValidation;
using Nop.Plugin.Payments.PayPalCommerce.Models;
using Nop.Services.Localization;
using Nop.Web.Framework.Validators;
namespace Nop.Plugin.Payments.PayPalCommerce.Validators;
///
/// Represents onboarding model validator
///
public class OnboardingValidator : BaseNopValidator
{
#region Ctor
public OnboardingValidator(ILocalizationService localizationService)
{
RuleFor(model => model.Email)
.NotEmpty()
.IsEmailAddress()
.WithMessageAwait(localizationService.GetResourceAsync("Admin.Common.WrongEmail"));
}
#endregion
}