public StoredContactViewModelCollection()
    {
      if (IsInDesignMode) return;

      _appContacts = new AppContacts();
      LoadContacts();

      LoadContactsCommand = new RelayCommand(LoadContacts);
      NavigateToEditContactPageCommand = new RelayCommand<StoredContactViewModel>(NavigateToEditContactPage);
    }
    public StoredContactViewModel()
    {
      _appContacts = new AppContacts();

      SaveCommand = new RelayCommand(Save);
      UpdateCommand = new RelayCommand(Update);
      RemoveCommand = new RelayCommand(Remove);

      Messenger.Default.Register<string>(this, "LoadContactByEmailMessage", LoadContactByEmail);
    }
 private void MainPage_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
   _appContacts = new AppContacts();
 }