public async Task <List <IGeoCountry> > CountryAutoComplete(string query, int maxRows, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); DbDataReader reader = await dbGeoCountry.AutoComplete(query, maxRows); return(LoadCountryListFromReader(reader)); }
public async Task <List <IGeoCountry> > CountryAutoComplete(string query, int maxRows) { DbDataReader reader = await dbGeoCountry.AutoComplete(query, maxRows); return(LoadCountryListFromReader(reader)); }