using FluentValidation; namespace AutobusApi.Application.Buses.Queries.GetBus; public class GetBusQueryValidator : AbstractValidator { public GetBusQueryValidator() { RuleFor(v => v.Id).GreaterThan(0); } }