Пример #1
0
        public void TestAny()
        {
            var Article = repository.Any(3);

            Assert.True(Article);
            Article = repository.Any(5);
            Assert.False(Article);
        }
Пример #2
0
 private bool ArticleExists(int id)
 {
     return(_articleRepository.Any(id));
 }