public static C.PhoneAddress ToContract(this WFSUserAddress data) { if (data == null) return null; C.PhoneAddress model = new C.PhoneAddress { Address1 = data.Address1, Address2 = data.Address2, City = data.City, State = data.State, ZipCode = data.ZipCode, PhoneNumber = data.PhoneNumber, PhoneExt = data.PhoneExt }; return model; }
public Organization() { User = new WFSUser(); AddressInfo = new PhoneAddress(); }
public WFSUser() { BillingAddress = new PhoneAddress(); }