public ActionResult Create(AssigmentFormsModule moduleForm) { try { // TODO: Add insert logic here return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Edit(AssigmentFormsModule moduleForm) { try { // TODO: Add update logic here if (!ModelState.IsValid) { return(View()); } return(RedirectToAction("Index")); } catch { return(View()); } }