public ActionResult UpdateMemberShipSocialSet(long SiteID, MemberType SocialType, bool IsOpen)
        {
            MemberShipRegSocialSetModels model = MemberShipRegSetDAO.GetSocialItem(SiteID, SocialType);
            bool Result = MemberShipRegSetDAO.UpdateSocialItemSet(SiteID, SocialType, IsOpen);

            if (Result)
            {
                return(Json("success"));
            }
            else
            {
                return(Json("fail"));
            }
        }
        public ActionResult SetSocial(long SiteID, MemberType SocialType)
        {
            //int memberCount = 0;
            ViewBag.SiteID = SiteID;
            MemberShipRegSocialSetModels model = MemberShipRegSetDAO.GetSocialItem(SiteID, SocialType);

            ViewBag.SocialTitle = model.SocialTitle;
            //List<WorkV3.Areas.Backend.Models.MemberModels> managerList = Models.DataAccess.ManagerDAO.GetItems(99999, 1, out memberCount);
            //List<MemberShipRegEmailManagersModels> assignedManagerList = Models.DataAccess.MemberShipRegSetDAO.GetMemberShipRegManagers(SiteID);

            //var nonSelectManagers = managerList.Where(p => !assignedManagerList.Any(m => m.ManagerID == p.Id.ToString()));
            //if (nonSelectManagers != null)
            //    ViewBag.Managers = nonSelectManagers.ToList();
            return(View(model));
        }