Exemplo n.º 1
0
        private RelatedSocCodeItem GetRelatedSocData(DynamicContent jobprofileContent, DynamicContent content)
        {
            var socCodes = new RelatedSocCodeItem
            {
                Id      = dynamicContentExtensions.GetFieldValue <Guid>(content, content.GetContentItemIdKey()),
                SOCCode = dynamicContentExtensions.GetFieldValue <Lstring>(content, nameof(SocCode.SOCCode)).ToLower()
            };

            return(socCodes);
        }
Exemplo n.º 2
0
        private RelatedSocCodeItem GenerateSocData(DynamicContent content)
        {
            var socCodes = new RelatedSocCodeItem
            {
                Id      = content.Id,
                SOCCode = dynamicContentExtensions.GetFieldValue <Lstring>(content, nameof(SocCode.SOCCode))
            };

            return(socCodes);
        }