Пример #1
0
        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);
        }
Пример #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});
 }
Пример #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);
 }