Exemplo n.º 1
0
        /// <summary>
        /// Updates code list title with no changes to the values.
        /// </summary>
        /// <param name="newTitle">New title of the list</param>
        /// <param name="listName">Name of the list to rename</param>
        /// <returns>Code list with all values</returns>
        private async Task <CodeListUpdateARM> CodeListUpdate(string listName, string newTitle)
        {
            var newValues = new CodeListUpdateAM {
                Title = newTitle
            };

            return(await _alfrescoHttpClient.CodeListUpdate(listName, newValues));
        }