Exemplo 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);

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

            return(LoadCountryListFromReader(reader));
        }