Esempio n. 1
0
        private void ManagedClippedLinks(UserPageParameters userPageParameters, User owner)
        {
            Link link = new Link(InputContext);
            if (userPageParameters.LinksToMove)
            {
                link.MoveLinks(userPageParameters.MoveLinksList);
                AddInside(link);

            }
            if (userPageParameters.LinksPrivacyChange)
            {
                link.ChangeLinksPrivacy(userPageParameters.LinksPrivacy);
                AddInside(link);

            }
            if (userPageParameters.LinksToDelete)
            {
                link.DeleteLinks(userPageParameters.DeleteLinks, owner.UserID, InputContext.CurrentSite.SiteID);
                AddInside(link);

            }
        }