Example #1
0
        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;
        }
Example #2
0
 public Organization()
 {
     User = new WFSUser();
     AddressInfo = new PhoneAddress();
 }
Example #3
0
 public WFSUser()
 {
     BillingAddress = new PhoneAddress();
 }