/// <summary>
        /// Updates Code List allowed values authorities based on provided list.
        /// </summary>
        /// <param name="codeListCofinguration">Code List configuration of values</param>
        /// <returns>Updated Code List with values and authorities</returns>
        private async Task <CodeListUpdateValuesAthoritiesARM> UpdateValueWithAuthority(CodeListFileContent codeListCofinguration)
        {
            var updateModel = new CodeListUpdateValuesAuthorityAM();

            updateModel.Values.AddRange(from content in codeListCofinguration.Values select new CodeListValueWithAuthority
            {
                Value       = content.Name,
                Authorities = content.Authorities
            });

            return(await _alfrescoHttpClient.CodeListUpdateValuesWithAuthority(codeListCofinguration.Name, updateModel));
        }