示例#1
0
        public EditAddressViewModel()
        {
            Address = new AddressData();

            Contact = new ContactData();

            Business = new AddressBusinessTypeViewModel();
        }
示例#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;
 }