Exemplo n.º 1
0
    //Getting the cryptocurrency values (Crypto quote)
    protected CryptocurrencyDataClass getSingleCryptoCurrencyProfileDataCrypto(string cryptoCurrencySymbol)
    {
        GetCurrencyAPIData getCurrencyAPIData = new GetCurrencyAPIData();

        APIResultCrypto = getCurrencyAPIData.GetSingleCurrencyAPIMain(cryptoCurrencySymbol, cryptoCurrencySymbol);

        return(APIResultCrypto);
    }
Exemplo n.º 2
0
    //Getting the cryptocurrency values (Fiat quote)
    protected CryptocurrencyDataClass getSingleCryptoCurrencyProfileDataFiat(string pickedCurrencySymbol, string cryptoCurrencySymbol)
    {
        GetCurrencyAPIData getCurrencyAPIData = new GetCurrencyAPIData();

        APIResultFiat = getCurrencyAPIData.GetSingleCurrencyAPIMain(cryptoCurrencySymbol, pickedCurrencySymbol);

        return(APIResultFiat);
    }