Created
May 8, 2013 18:37
-
-
Save kaldas/5542554 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Valida um número de cpf | |
/// </summary> | |
/// <param name="proposta">Dados da proposta</param> | |
/// <returns>PropostaVO</returns> | |
public override PropostaVO Validar(PropostaVO proposta) | |
{ | |
if (!proposta.CpfDoParticipante.CpfValido()) | |
proposta = proposta.InformarCritica("Cpf está inválido", "Cpf"); | |
return proposta; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment