Beispiel #1
0
        public async Task <List <IGeoZone> > StateAutoComplete(
            Guid countryGuid,
            string query,
            int maxRows,
            CancellationToken cancellationToken = default(CancellationToken))
        {
            cancellationToken.ThrowIfCancellationRequested();
            DbDataReader reader = await dbGeoZone.AutoComplete(countryGuid, query, maxRows);

            return(LoadGeoZoneListFromReader(reader));
        }
Beispiel #2
0
        public async Task <List <IGeoZone> > StateAutoComplete(Guid countryGuid, string query, int maxRows)
        {
            DbDataReader reader = await dbGeoZone.AutoComplete(countryGuid, query, maxRows);

            return(LoadGeoZoneListFromReader(reader));
        }