Example #1
0
        public ContactViewModel(SiteViewModel parent)      // pass in parent, by Fred, 2-5-2013
        {
            _parent = parent;

            // get data
            CustomerModel customer = SampleData.GetCustomerData();
            ContactList = new ObservableCollection<Contact>(customer.Contacts);
        }
Example #2
0
 // edit
 public EditContactViewModel(SiteViewModel parent, SiteContact editSiteContact)      // pass in parent, by Fred, 2-5-2013
 {
     _parent = parent;
     _editSiteContact = editSiteContact;
 }