Пример #1
0
 public CouchDbTests()
 {
     _dbRequester = new HttpRequester(DbUrl);
     var head = _dbRequester.HeadAsync().Result;
     if(head.IsSuccess)
         _dbRequester.DeleteAsync().Wait();
 }
Пример #2
0
        public CouchDbTests()
        {
            _dbRequester = HttpRequester.Create(DbUrlWithCredentials);
            var head = _dbRequester.HeadAsync().Result;

            if (head.IsSuccess)
            {
                _dbRequester.DeleteAsync().Wait();
            }
        }