Exemple #1
0
        public static bool IsSeoMetaExists(PageInfo pageInfo)
        {
            var arraylists = SeoManager.GetSeoMetaArrayLists(pageInfo.PublishmentSystemId);

            if (pageInfo.PageContentId != 0)
            {
                var arraylist = arraylists[1];
                return(arraylist.Contains(pageInfo.PageNodeId));
            }
            else
            {
                var arraylist = arraylists[0];
                return(arraylist.Contains(pageInfo.PageNodeId));
            }
        }