コード例 #1
0
        public IActionResult EightWordUpdate(int ID)
        {
            var allWordsWithEight  = _unitOfWorkEight.RepositoryEight.GetEightWordByID(ID);
            var eightWordViewModel = new EightWordViewModel
            {
                EightWordOnly = allWordsWithEight
            };

            return(View(eightWordViewModel));
        }
コード例 #2
0
        public IActionResult EightWordIndex()
        {
            var allWordsWithEight  = _unitOfWorkEight.RepositoryEight.GetAll();
            var eightWordViewModel = new EightWordViewModel
            {
                EightWords = allWordsWithEight
            };

            return(View(eightWordViewModel));
        }