예제 #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));
 }