コード例 #1
0
        public void SortTest()
        {
            ExchangeRateApiBusiness business = new ExchangeRateApiBusiness();
            var list = business.SortBy(false, true).GetAwaiter().GetResult().ToList();

            //business.GetCurrenciesSorted("",true).GetAwaiter().GetResult();
            Assert.True(list.Count > 0);
        }
コード例 #2
0
 public async Task <List <Currency> > SortBy(bool isAscending, bool CurrencyName = false, bool BanknoteBuying = false, bool BanknoteSelling = false, bool CurrencyCode = false, bool Isim = false)
 {
     return(await business.SortBy(isAscending, CurrencyName, BanknoteBuying, BanknoteSelling, CurrencyCode, Isim));
 }