using FluentValidation; namespace AutobusApi.Application.Buses.Commands.DeleteBus; public class DeleteBusCommandValidator : AbstractValidator { public DeleteBusCommandValidator() { RuleFor(v => v.Id).GreaterThan(0); } }