public EditAddressViewModel() { Address = new AddressData(); Contact = new ContactData(); Business = new AddressBusinessTypeViewModel(); }
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; }