示例#1
0
 public IActionResult DeleteAnswer(int AnswerID, string returnUrl)
 {
     Documentation
     .RemoveAnswer(Documentation.Answers.FirstOrDefault(x => x.AnswerID == AnswerID));
     return(LocalRedirect(returnUrl));
 }