public ActionResult GoverningBodyAlteration(MdlPartner model)
 {
     if (sig != null)
     {
         try
         {
             model.EnterByUser_ID = sig.UserID;
             MngFirm    mobj   = new MngFirm();
             MdlPartner Pmodel = new MdlPartner();
             MdlFirm    Fmodel = new MdlFirm();
             Fmodel = mobj.InsertNGOSocietyFormEinfo(model);
             UtilityClass.AddSession(UtilityClass.UserSession.OrgDocId, Fmodel);//Passing Orgdocid to partner Session Model
             return(RedirectToAction("SocietyGoverningBodyAlterationList", "Partner"));
         }
         catch
         {
             MdlPartner Pmodel = new MdlPartner();
             MngFirm    mobj   = new MngFirm();
             Pmodel.GetAllOrgId = mobj.GetAllOrgDocIdForNGOSociety(0);
             return(View(Pmodel));
         }
     }
     else
     {
         return(RedirectToAction("Index", "Login"));
     }
 }
 public ActionResult GoverningBodyAlteration(string Flag)
 {
     if (sig != null)
     {
         if (Flag == "SideBar")
         {
             UtilityClass.NullSession(UtilityClass.UserSession.OrgDocId, null);
         }
         MdlPartner Pmodel = new MdlPartner();
         MngFirm    mobj   = new MngFirm();
         Pmodel.GetAllOrgId = mobj.GetAllOrgDocIdForNGOSociety(0);
         return(View(Pmodel));
     }
     else
     {
         return(RedirectToAction("Index", "Login"));
     }
 }