public void Begin()
 {
     vm    = new WorkSpaceSelectWordViewModel(null, null, null, null);
     model = new RepeatingWordsModel();
     model.WordsLearningAll = new List <Words>()
     {
         new Words {
             Id = 0, IdDictionary = 0, EngWord = "0", RusWord = "0-", Transcription = "-0-"
         },
         new Words {
             Id = 1, IdDictionary = 1, EngWord = "1", RusWord = "1-", Transcription = "-1-"
         },
         new Words {
             Id = 2, IdDictionary = 2, EngWord = "2", RusWord = "2-", Transcription = "-2-"
         },
         new Words {
             Id = 3, IdDictionary = 3, EngWord = "3", RusWord = "3-", Transcription = "-3-"
         },
         new Words {
             Id = 4, IdDictionary = 4, EngWord = "4", RusWord = "4-", Transcription = "-4-"
         }
     };
     vm.Model = model;
     word     = model.WordsLearningAll.First();
 }
 public RepeatingWordsViewModel(INavigationService navigationServcie, IDialogService dialogService, IUnitOfWork unitOfWork, IAnimationService animationService, ITextToSpeech speechService, IFirstLanguage firstLanguageService) : base(navigationServcie, dialogService)
 {
     _animationService     = animationService;
     _unitOfWork           = unitOfWork;
     _firstLanguageService = firstLanguageService;
     _speechService        = speechService;
     Model = new RepeatingWordsModel();
     VoiceActingCommand     = new Command(async() => await _speechService.Speak(Model.CurrentWord.EngWord));
     EditCurrentWordCommand = new Command(async() =>
     {
         _isEditing = true;
         await NavigationService.NavigateToAsync <CreateWordViewModel>(Model.CurrentWord);
     });
     EnterTranslateCommand = new Command(async() =>
     {
         await _animationService.AnimationFade(WorkContainerView, 0);
         await ShowEnterTranslate();
         await _animationService.AnimationFade(WorkContainerView, 1);
     });
     SelectFromWordsCommand = new Command(async() =>
     {
         await _animationService.AnimationFade(WorkContainerView, 0);
         await ShowSelectFromWords();
         await _animationService.AnimationFade(WorkContainerView, 1);
     });
     LearningCardsCommand = new Command(async() =>
     {
         await _animationService.AnimationFade(WorkContainerView, 0);
         await ShowLearningCards();
         await _animationService.AnimationFade(WorkContainerView, 1);
     });
     AppearingCommand = new Command(async() => await AppearingPage());
 }