コード例 #1
0
        private async Task <DbWebsite> HandleUrlAddress(string address)
        {
            var isAccessed = await _websiteCheckerClient.CheckAsync(address);

            var website = new DbWebsite {
                Address = address, Status = isAccessed
            };

            return(await _websiteRepository.CreateAsync(website));
        }