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);
        }
Example #2
0
 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});
 }
Example #3
0
 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);
 }