Esempio n. 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, cancellationToken);

            return(LoadGeoZoneListFromReader(reader));
        }
Esempio n. 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));
        }