public void FilterTest() { ExchangeRateApiBusiness business = new ExchangeRateApiBusiness(); var list = business.FilterBy("USD").GetAwaiter().GetResult().ToList(); Assert.True(list.Count > 0); }
public async Task <List <Currency> > FilterBy(string CurrencyCode = null, string CurrencyName = null, string BanknoteBuying = null, string BanknoteSelling = null) { return(await business.FilterBy(CurrencyCode, CurrencyName, BanknoteBuying, BanknoteSelling)); }