public async Task <T> ExecuteRestApiAsync <T>(string apiName) { if (string.IsNullOrEmpty(apiName)) { throw new ArgumentNullException("apiName"); } var response = await _jsonHttpClient.HttpGetRestApiAsync <T>(apiName); return(response); }
public async Task <T> ExecuteRestApiAsync <T>(string apiName) { if (string.IsNullOrEmpty(apiName)) { throw new ArgumentNullException("apiName"); } var response = await _jsonHttpClient.HttpGetRestApiAsync <T>(apiName); return(response); }