Open thiagolunardi opened 7 years ago
Example:
Contract .Required() .IfNotNull(x.LastName, contract => contract.MinLength(3)); Means: LastName is not required, but if informed, must have more 3 letters or more.
Contract .Required() .IfNotNull(x.LastName, contract => contract.MinLength(3));
Example:
Contract .Required() .IfNotNull(x.LastName, contract => contract.MinLength(3));
Means: LastName is not required, but if informed, must have more 3 letters or more.