예제 #1
0
        private async Task <T> GetAsync <T>(string apiMethod)
        {
            var httpClient = _httpClientFactory.CreateTalentLmsHttpClient(_options.Value);
            var response   = await httpClient.GetAsync(apiMethod);

            return(await ReadTalentLmsResponseAsync <T>(response));
        }