Пример #1
0
        public void ShowEnglishTranslation(Level1 Lvl1)
        {
            string chosenRandomWord = new Level1().GenerateRandomWord(Lvl1.RussianWord);

            ViewData["GenerateRandomWord"] = chosenRandomWord;
            ViewData["EnglishTranslation"] = Lvl1.EnglishWord[Lvl1.GetRussianIndex(chosenRandomWord)];
        }