public IActionResult TenWordUpdate(int ID) { var allWordsWithTen = _unitOfWorkTen.RepositoryTen.GetTenWordByID(ID); var tenWordViewModel = new TenWordViewModel { TenWordOnly = allWordsWithTen }; return(View(tenWordViewModel)); }
public IActionResult TenWordIndex() { var allWordsWithTen = _unitOfWorkTen.RepositoryTen.GetAll(); var tenWordViewModel = new TenWordViewModel { TenWords = allWordsWithTen }; return(View(tenWordViewModel)); }