Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
public ActionResult Edit([Bind(Include = "ID,Desctiption,Correct,QuestionID")] Answer answer) { if (ModelState.IsValid) { answerService.Edit(answer); return(RedirectToAction("Index")); } ViewBag.QuestionID = new SelectList(questionService.GetAll(), "ID", "Description", answer.QuestionID); return(View(answer)); }