public ActionResult Update(int id, DateTime? processDate, int statusId, string comments, List<int> approvals, DateTime? mvrDate, int mvrStatusId) { var m = new VolunteerModel(id); m.Update(processDate, statusId, comments, approvals, mvrDate, mvrStatusId); m = new VolunteerModel(id); return View("Display", m); }
public ActionResult Update(int id, DateTime? processDate, int statusId, string comments, List<int> approvals) { var m = new VolunteerModel(id); m.Update(processDate, statusId, comments, approvals); return RedirectToAction("Index", "Volunteering", new {id = id}); }
public ActionResult Update(int id, DateTime? processDate, int statusId, string comments, List<int> approvals) { var m = new VolunteerModel(id); m.Update(processDate, statusId, comments, approvals); return Redirect("/Volunteering/" + id); }