Exemplo n.º 1
0
        /// <summary>
        /// Return a given code list.
        /// </summary>
        /// <param name="org">The Organization code for the service owner.</param>
        /// <param name="service">The service code for the current service.</param>
        /// <param name="name">The name of the code list.</param>
        /// <returns>The code list.</returns>
        public CodeList GetCodeListByName(string org, string service, string name)
        {
            CodeList codeList = null;
            string   textData = File.ReadAllText(_settings.BaseResourceFolderContainer + _settings.GetCodeListFolder() + name + ".json");

            codeList = JsonConvert.DeserializeObject <CodeList>(textData);

            return(codeList);
        }