public async Task <List <StockItem> > Get([FromQuery] string range) { string[] ranges = range.Split(','); return(await _stocksRepository.GetStockByPriceRange(Convert.ToDouble(ranges[0]), Convert.ToDouble(ranges[1]))); }