public ActionResult UpgradeSelectManagers(long SiteID, string selectManagers)
        {
            if (string.IsNullOrEmpty(selectManagers))
            {
                return(Json("fail"));
            }
            string[] selectManagerList = selectManagers.Split(',');

            // MemberShipRegSetDAO.DelMemberShipRegManagers(SiteID);
            foreach (string selectManagerID in selectManagerList)
            {
                MemberShipRegEmailManagersModels model = MemberShipRegSetDAO.GetMemberShipRegManagers(SiteID, long.Parse(selectManagerID));
                if (model == null)
                {
                    model            = new MemberShipRegEmailManagersModels();
                    model.ID         = WorkLib.GetItem.NewSN().ToString();
                    model.SiteID     = SiteID;
                    model.IsManager  = true;
                    model.ManagerID  = selectManagerID;
                    model.Email      = "";
                    model.Sort       = 0;
                    model.IsSelected = true;
                }
                MemberShipRegSetDAO.SetMemberShipRegManagers(model);
            }
            return(Json("success"));
        }
        public ActionResult GetSelectManagers(long SiteID)
        {
            List <MemberShipRegEmailManagersModels> modelList = MemberShipRegSetDAO.GetMemberShipRegManagers(SiteID);

            return(Json(modelList));
        }