コード例 #1
0
 public ActionResult EditExam(Examination e)
 {
     e.SeoUrl = e.Name.ToSeoUrl();
     // e.CreationDate=DateTime.Now;
     _examinationRepository.SaveExamination(e);
     TempData["notification"] = "The Examination has been updated";
     return(RedirectToAction("Examination"));
 }