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")); }