Beispiel #1
0
        private async Task <List <StockSingleQuoteDataDTO> > GetSingleQuoteData(int[] symbolIds)
        {
            string singleQuotePath = ApiPath.GetSingleQuoteData(symbolIds);
            var    response        = await _client.GetAsync(singleQuotePath);

            var data = await response.Content.ReadAsAsync <IEnumerable <StockSingleQuoteDataDTO> >();

            return(data.ToList());
        }