using FluentValidation; namespace AutobusApi.Application.RouteSearch; public class RouteSearchQueryValidator : AbstractValidator { public RouteSearchQueryValidator() { // RuleFor(v => v.Email) // .NotEmpty().WithMessage("Email address is required.") // .EmailAddress().WithMessage("Email address is invalid."); } }