public void Criar(Pet pet) { var petResults = _petValidation.IsValid(pet); if (petResults.IsValid) { _petRepository.Criar(pet); } else { throw new Exception(petResults.ToString("~")); } }