Ejemplo n.º 1
0
        public async Task <T> ExecuteRestApiAsync <T>(string apiName)
        {
            if (string.IsNullOrEmpty(apiName))
            {
                throw new ArgumentNullException("apiName");
            }

            var response = await _serviceHttpClient.HttpGetRestApiAsync <T>(apiName);

            return(response);
        }