17 lines
430 B
C#
17 lines
430 B
C#
|
using CH.CryptoStats.Abstractions;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace CH.CQRS.Service.CryptoStats;
|
|||
|
|
|||
|
public class CryptoService(CoinMarketCap coinMarketCap)
|
|||
|
{
|
|||
|
public async Task GetCryptoStatsAsync(CancellationToken cancellationToken)
|
|||
|
{
|
|||
|
var crypto = await coinMarketCap.GetCryptoStats("bitcoin", "CAD", cancellationToken);
|
|||
|
}
|
|||
|
}
|