public ActionResult Edit(OrgMemberModel m)
 {
     return View(m);
 }
 public ActionResult Display(int oid, int pid)
 {
     var m = new OrgMemberModel {OrgId = oid, PeopleId = pid};
     return View(m);
 }
 public ActionResult Edit(int oid, int pid)
 {
     var m = new OrgMemberModel(oid, pid);
     return View(m);
 }
 public ActionResult Update(OrgMemberModel m)
 {
     try
     {
         m.UpdateModel();
     }
     catch (Exception)
     {
         ViewData["MemberTypes"] = CodeValueModel.ConvertToSelect(CodeValueModel.MemberTypeCodes(), "Id");
         return View("Edit", m);
     }
     return View("Display", m);
 }
 public ActionResult Display(int oid, int pid)
 {
     var m = new OrgMemberModel(oid, pid);
     return View("Display", m);
 }