using FluentValidation; namespace AutobusApi.Application.Cities.Queries.GetCity; public class GetCityQueryValidator : AbstractValidator { public GetCityQueryValidator() { RuleFor(v => v.Id).GreaterThan(0); } }