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); }
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)); }