Ejemplo n.º 1
0
        public async Task <List <IGeoCountry> > CountryAutoComplete(
            string query,
            int maxRows,
            CancellationToken cancellationToken = default(CancellationToken))
        {
            cancellationToken.ThrowIfCancellationRequested();
            DbDataReader reader = await dbGeoCountry.AutoComplete(query, maxRows, cancellationToken);

            return(LoadCountryListFromReader(reader));
        }
Ejemplo n.º 2
0
        public async Task <List <IGeoCountry> > CountryAutoComplete(string query, int maxRows)
        {
            DbDataReader reader = await dbGeoCountry.AutoComplete(query, maxRows);

            return(LoadCountryListFromReader(reader));
        }