public IActionResult FourWordUpdate(int ID) { var allWordsWithFour = _unitOfWorkFour.RepositoryFour.GetFourWordByID(ID); var fourWordViewModel = new FourWordViewModel { FourWordsOnly = allWordsWithFour }; return(View(fourWordViewModel)); }
public IActionResult FourWordIndex() { var allWordsWithFour = _unitOfWorkFour.RepositoryFour.GetAll(); var fourWordViewModel = new FourWordViewModel { FourWords = allWordsWithFour }; return(View(fourWordViewModel)); }