Skip to content

Instantly share code, notes, and snippets.

@migsalazar
Created June 17, 2016 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save migsalazar/cdfa79ca464a07555981712e7b152b86 to your computer and use it in GitHub Desktop.
Save migsalazar/cdfa79ca464a07555981712e7b152b86 to your computer and use it in GitHub Desktop.
RfcBuilder
private Rfc Build() {
Person person = new Person(this.Name, this.FirstLastName, this.SecondLastName, this.Year, this.Month, this.Day);
string tenDigitsCode = TenDigitsCalculator();
string homoclave = HomoclaveCalculator();
string verificationDigit = VerificationDigitCalculator();
return Rfc.Build(tenDigitsCode, homoclave, verificationDigit);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment