private FoundationAddress CreateAddress()
        {
            var address = new FoundationAddress(CustomerAddress.CreateInstance());

            address.AddressId = BusinessManager.Create(address.Address);
            return(address);
        }
Esempio n. 2
0
 public B2BAddressViewModel(FoundationAddress address)
 {
     AddressId   = address.AddressId;
     Name        = address.Name;
     Street      = address.Street;
     City        = address.City;
     PostalCode  = address.PostalCode;
     CountryCode = address.CountryCode;
     CountryName = address.CountryName;
 }