Beispiel #1
0
 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])));
 }