public async Task <bool> ValidateAsync(string postcode)
        {
            PostcodesIOClient client = new PostcodesIOClient();

            var result = await client.ValidateAsync(postcode);

            return(result);
        }
예제 #2
0
        public async Task Validate_returns_true_for_valid_postcode_async()
        {
            var result = await _client.ValidateAsync("GU1 1AA");

            Assert.True(result);
        }