コード例 #1
0
        //public async Task<GetDatabasesResponse> GetDatabases(int accountId)
        //{
        //    var connString = await GetAccountConnectionString(accountId);
        //    return await _infowebAXClientReference.GetDatabases(connString);
        //}

        public async Task <List <Locality> > GetLocalitiesByPostCode(int accountId, string country, string postCode)
        {
            var connString = await GetAccountConnectionString(accountId);

            var response = await _infowebAXClientReference.GetLocalitiesByPostCode(connString, country, postCode);

            return(GetDeserializedResponse <Locality>(response.GetLocalitiesByPostCodeResult.Nodes));
        }
コード例 #2
0
        public async Task <GetLocalitiesByPostCodeResponse> GetLocalitiesByPostCode(int accountId, string country, string postCode)
        {
            var connString = await GetAccountConnectionString(accountId);

            return(await _infowebAXClientReference.GetLocalitiesByPostCode(connString, country, postCode));
        }