예제 #1
0
 public ActionResult Edit(Contributor contributor)
 {
     var mgr = new SimchaFundManager(Properties.Settings.Default.ConStr);
     mgr.UpdateContributor(contributor);
     TempData["Message"] = "Contributor updated successfully";
     return RedirectToAction("Index");
 }
예제 #2
0
 public ActionResult EditContributor(Contributors contributor)
 {
     SimchaFundManager manager = new SimchaFundManager(Properties.Settings.Default.ConStr);
     manager.UpdateContributor(contributor);
     return Redirect("Contributors");
 }