@Html.ActionLink("Edit", "EditWrittenExam", new { id = certi.id })
public class WrittenExamSurfaceController : SurfaceController { public ActionResult EditWrittenExam(int id) { var repo = new ABORepository(); return View(repo); } //[HttpPost] [ChildActionOnly] public ActionResult EditWrittenExam(WrittenExam editwrittenexam) { var repo = new ABORepository(); repo.EditWrittenExam(editwrittenexam); return CurrentUmbracoPage(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)