Ejemplo n.º 1
0
        public EditAddressViewModel()
        {
            Address = new AddressData();

            Contact = new ContactData();

            Business = new AddressBusinessTypeViewModel();
        }
Ejemplo n.º 2
0
 public EditAddressViewModel(AddressBookRecordData addressbook, AddressRecordType type, int page)
 {
     AddressBookRecordId = addressbook.Id;
     Address             = addressbook.AddressData;
     Contact             = addressbook.ContactData;
     Business            = new AddressBusinessTypeViewModel(addressbook.BusinessData);
     Type       = type;
     PageNumber = page;
 }