public static GroupResult From(GroupData item)
        {
            var result = new GroupResult
            {
                Description = TextEntry.From(item.Description, Resources.LabelDescription)
            };

            if (item.GroupMemberships != null)
            {
                result.GroupMemberships = TextEntry.From(GetGroupMembershipSummary(item.GroupMemberships), Resources.LabelGroupMemberships);
            }

            string scope = item.Scope.Length > 0
                ? Resources.GroupScopeSpecificPublications
                : Resources.GroupScopeAllPublications;

            result.Scope = TextEntry.From(scope, Resources.LabelScope);

            AddCommonProperties(item, result);
            return result;
        }
        public static GroupResult From(GroupData item)
        {
            var result = new GroupResult
            {
                Description = TextEntry.From(item.Description, Resources.LabelDescription)
            };


            if (item.GroupMemberships != null)
            {
                result.GroupMemberships = TextEntry.From(GetGroupMembershipSummary(item.GroupMemberships), Resources.LabelGroupMemberships);
            }

            string scope = item.Scope.Length > 0
                ? Resources.GroupScopeSpecificPublications
                : Resources.GroupScopeAllPublications;

            result.Scope = TextEntry.From(scope, Resources.LabelScope);

            AddCommonProperties(item, result);
            return(result);
        }