public async Task <int> GetCurrencyRateAsync(CurrencyEnumCodes currencyEnumCode) { var responseNs = "GetCurrencyRate"; var content = await networkLayer.MakeNBGCurrencyEnvelope(responseNs, currencyEnumCode.ToEnumString()); return(int.Parse(content.ToValue(responseNs))); }
public async Task <string> GetCurrencyDescriptionAsync(CurrencyEnumCodes currencyEnumCode) { var responseNs = "GetCurrencyDescription"; var content = await networkLayer.MakeNBGCurrencyEnvelope(responseNs, currencyEnumCode.ToEnumString()); return(content.ToValue(responseNs)); }