public void GetCurrenceyTurkeyAllToday_Test() { List <Currency> curencyList = new List <Currency>(); ExchangeRateApiBusiness business = new ExchangeRateApiBusiness(); curencyList = business.GetAllList().GetAwaiter().GetResult().ToList(); Assert.True(curencyList.Count > 0); }
public async Task <List <Currency> > GetAllList() { return(await business.GetAllList()); }