public EmployerInfo() { CompanyName = new CompanyName().Employer; EmployerAddress = new RandomAddress(); WorkPhoneNumber = new PhoneNumber(); PhoneNumber = WorkPhoneNumber.Formatted(); WorkEmail = new EmailAddress(CompanyName).Email; }
public EmployerInfo(bool status) { if (status == false) { CompanyName = string.Empty; EmployerAddress = null; WorkPhoneNumber = null; WorkEmail = string.Empty; Position = string.Empty; } else { CompanyName = new CompanyName().Employer; EmployerAddress = new RandomAddress(); WorkPhoneNumber = new PhoneNumber(); PhoneNumber = WorkPhoneNumber.Formatted(); WorkEmail = new EmailAddress(CompanyName).Email; } }