public IActionResult UpdateQuestionToDatabase(Question flashToUpdate) { var repo = new QuestionRepo(); repo.UpdateQuestion(flashToUpdate); return(RedirectToAction("ListAll")); }
public IActionResult UpdateQuestionToDatabase(Question flashToUpdate) { var repo = new QuestionRepo(); repo.UpdateQuestion(flashToUpdate); return(RedirectToAction("ListAll")); }