public IndividualConstituent GetIndividualConstituent(EmailType emailType, PhoneNumberType phoneNumberType, string parentConstId = "", bool confidential = false, bool includeInPrintDirectory = true, bool includeInMobileDirectory = true) { var name = _nameGen.GetName().Split(' '); var constituent = new IndividualConstituent( name[0], name[1], _addressGen.GetAddress(), _emailGen.GetEmailAddress(emailType), _phoneGen.GetPhoneNumber(phoneNumberType), LoremIpsumGenerator.GetWords(1), LoremIpsumGenerator.GetWords(1), LoremIpsumGenerator.GetWords(1), "Home", GetPrefix(), GetSuffix(), GetCredentials(), parentConstId, "", LoremIpsumGenerator.GetWords(2), LoremIpsumGenerator.GetWords(1), "", GetCountry(), confidential, includeInPrintDirectory, LoremIpsumGenerator.GetWords(3), includeInMobileDirectory); return(constituent); }
public CompanyConstituent GetCompanyConstituent(string parentConstId = "", bool confidential = false, bool includeInPrintDirectory = true, bool includeInMobileDirectory = true) { var name = _nameGen.GetCompany().Split(' '); var company = new CompanyConstituent(name[0], _addressGen.GetAddress(), GetPrefix(), LoremIpsumGenerator.GetWords(1), "Work", parentConstId, "", confidential, includeInPrintDirectory, includeInMobileDirectory); return(company); }