public async Task <List <Locality> > GetLocalitiesBySuburb(int accountId, string country, string suburb) { var connString = await GetAccountConnectionString(accountId); var response = await _infowebAXClientReference.GetLocalitiesBySuburb(connString, country, suburb); return(GetDeserializedResponse <Locality>(response.GetLocalitiesBySuburbResult.Nodes)); }
public async Task <GetLocalitiesBySuburbResponse> GetLocalitiesBySuburb(int accountId, string country, string suburb) { var connString = await GetAccountConnectionString(accountId); return(await _infowebAXClientReference.GetLocalitiesBySuburb(connString, country, suburb)); }