Esempio n. 1
0
        public static FooterUrlData RemoveReferences(this FooterUrlData item)
        {
            var obj = new FooterUrlData();

            obj = item.RemoveReference();
            if (item.FooterUrl != null)
            {
                obj.FooterUrl = new FooterUrl();
                obj.FooterUrl = item.FooterUrl.RemoveReference();
            }
            return(obj);
        }
Esempio n. 2
0
        public static List <FooterUrlData> RemoveReferences(this List <FooterUrlData> list)
        {
            var newList = new List <FooterUrlData>();

            list.ForEach(item =>
            {
                var obj = new FooterUrlData();
                obj     = item.RemoveReferences();
                newList.Add(obj);
            });
            return(newList);
        }