Example #1
0
        public async Task TestGetSet()
        {
            const string url = "https://test.com";

            await _repository.AddAsync(url);

            Assert.IsTrue(await _repository.ExistsAsync(url));
        }
Example #2
0
 private async ValueTask <bool> NotSent(Update update)
 {
     return(!await _sentUpdatesRepository.ExistsAsync(update.Url));
 }