// Begin spelling test
        protected void OnBegin()
        {
            //AnswerViewModel avm = new AnswerViewModel(
            //    ((TestListViewModel)CurrentViewModel).CurrentTest.Id,
            //    ((TestListViewModel)CurrentViewModel).Spellings,
            //    new SpeachService(),
            //    _repo);

            CurrentViewModel = (BindableBase)((IApplicationState)CurrentViewModel).OnBegin(_repo);

            ((IApplicationState)CurrentViewModel).Done += () =>
                                                          CurrentViewModel = _testListViewModel;

            //CurrentViewModel = avm;

            OnPropertyChanged("Spellings");
        }
        private void OnAddEdit(string destination)
        {
            switch (destination)
            {
            case "AddTest":
                _addEditTestViewModel.CurrentTest = new SpellTest();
                _addEditTestViewModel.Spellings   = new ObservableCollection <SpellingViewModel>();
                _addEditTestViewModel.EditMode    = false;
                CurrentViewModel = _addEditTestViewModel;
                break;

            case "EditTest":
                _addEditTestViewModel.CurrentTest = _testListViewModel.CurrentTest;
                _addEditTestViewModel.Spellings   = _testListViewModel.Spellings;
                _addEditTestViewModel.EditMode    = true;
                CurrentViewModel = _addEditTestViewModel;
                break;
            }
        }
 private void OnShowResults()
 {
     _testOccuranceViewModel.CurrentTest = _testListViewModel.CurrentTest;
     CurrentViewModel = _testOccuranceViewModel;
 }
 // Wired up in constructor
 private void NavToTestList() => CurrentViewModel = _testListViewModel;