Пример #1
0
 public ActionResult Edit(NonProfit nonProfit)
 {
     _db.Entry(nonProfit).State = EntityState.Modified;
     _db.SaveChanges();
     return(RedirectToAction("Index"));
 }
Пример #2
0
 public ActionResult Edit(BoardMember boardMember)
 {
     _db.Entry(boardMember).State = EntityState.Modified;
     _db.SaveChanges();
     return(RedirectToAction("Index"));
 }