public ActionResult Index(int oid)
 {
     if (oid != DbUtil.Db.CurrentOrgId0)
         throw new Exception($"Current org has changed from {oid} to {DbUtil.Db.CurrentOrgId0}, aborting");
     var m = new OrgMembersUpdate { Id = oid };
     return View(m);
 }
 public ActionResult PostTransactions(OrgMembersUpdate m)
 {
     if (!ModelState.IsValid)
         return View("AddTransaction", m);
     m.PostTransactions();
     return View("AddTransactionDone", m);
 }
 public ActionResult AddFeeAdjustment(OrgMembersUpdate m)
 {
     m.AdjustFee = true;
     return View(m);
 }
 public ActionResult AddTransaction(OrgMembersUpdate m)
 {
     return View(m);
 }
 public ActionResult AddNewSmallGroup(OrgMembersUpdate m)
 {
     m.AddNewSmallGroup();
     ModelState.Clear();
     return View("SmallGroups", m);
 }
 public ActionResult RemoveSmallGroup(int sgid, OrgMembersUpdate m)
 {
     m.RemoveSmallGroup(sgid);
     return View("SmallGroups", m);
 }
 public ActionResult AddSmallGroup(int sgid, OrgMembersUpdate m)
 {
     ViewBag.numberadded = m.AddSmallGroup(sgid);
     return View("SmallGroups", m);
 }
 public ActionResult SmallGroups(OrgMembersUpdate m)
 {
     return View(m);
 }
 public ActionResult Update(OrgMembersUpdate m)
 {
     m.Update();
     return View("Updated", m);
 }