コード例 #1
0
        public async Task <List <Stock> > PostStocks([FromBody] StockUrl urlParts)
        {
            var fullUrl = ParseUrl.Parse(urlParts);

            return(await _stocks.CallStockApi(fullUrl, urlParts));
        }
コード例 #2
0
        public async Task <List <Stock> > GetStockData(StockUrl urlParts)
        {
            var fullUrl = ParseUrl.Parse(urlParts);

            return(await _stocks.CallStockApi(fullUrl, urlParts));
        }