public IActionResult EightWordUpdate(int ID) { var allWordsWithEight = _unitOfWorkEight.RepositoryEight.GetEightWordByID(ID); var eightWordViewModel = new EightWordViewModel { EightWordOnly = allWordsWithEight }; return(View(eightWordViewModel)); }
public IActionResult EightWordIndex() { var allWordsWithEight = _unitOfWorkEight.RepositoryEight.GetAll(); var eightWordViewModel = new EightWordViewModel { EightWords = allWordsWithEight }; return(View(eightWordViewModel)); }