public async Task <ResponseMain <Dictionary <string, QuotesLatestData> > > GetQuotesLatest(string[] idOrSymbol) { return(QueryStringService.IsIdOrString(idOrSymbol) == "Id" ? await GetAsync <ResponseMain <Dictionary <string, QuotesLatestData> > >( CryptoCurrencyApiUrls.LatestQuotesUri(idOrSymbol, new[] { string.Empty }, new[] { string.Empty })) .ConfigureAwait(false) : await GetAsync <ResponseMain <Dictionary <string, QuotesLatestData> > >( CryptoCurrencyApiUrls.LatestQuotesUri(new[] { string.Empty }, idOrSymbol, new[] { string.Empty })) .ConfigureAwait(false)); }
public async Task <ResponseMain <Dictionary <string, QuotesLatestData> > > GetQuotesLatest(string[] id, string[] symbol, string[] convert) { return(await GetAsync <ResponseMain <Dictionary <string, QuotesLatestData> > >( CryptoCurrencyApiUrls.LatestQuotesUri(id, symbol, convert))); }