1
I have my class
and in it I have a property
public TipoPessoa TipoPessoa {get;set;}
The same is an enumerator that has value "Physical and Juridical"
And I own a property that’s CNPJ or CPF
public string Cpf_Cnpj {get;set;}
How do I make it condition at time to validate in annotationion?