autobus-api_old/AutobusApi.Application/RouteSearch/RouteSearchQueryValidator.cs

14 lines
379 B
C#

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