14 lines
379 B
C#
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.");
|
|
}
|
|
}
|