using FluentValidation; namespace AutobusApi.Application.Cities.Commands.DeleteCity; public class DeleteCityCommandValidator : AbstractValidator { public DeleteCityCommandValidator() { RuleFor(v => v.Id).GreaterThan(0); } }