public Task <IReadOnlyList <Currency> > GetAll(string term) { Ensure.ArgumentNotNullOrEmptyString(term, nameof(term)); var parameters = new Dictionary <string, string> { { "term", term } }; return(ApiConnection.GetAll <Currency>(ApiUrls.Currencies(), parameters)); }
public Task <IReadOnlyList <Currency> > GetAll() { return(ApiConnection.GetAll <Currency>(ApiUrls.Currencies())); }