Exemplo n.º 1
0
 public async Task <List <CryptoPrice> > Get([FromQuery] CryptoCurrency baseCurrency,
                                             [FromQuery] CryptoCurrency quoteCurrency,
                                             [FromQuery] DateTime startDate,
                                             [FromQuery] DateTime endDate)
 {
     return(await _manager.GetPrices(baseCurrency, quoteCurrency, startDate, endDate));
 }