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

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

            return(LoadGeoZoneListFromReader(reader));
        }