public void TestAny() { var Article = repository.Any(3); Assert.True(Article); Article = repository.Any(5); Assert.False(Article); }
private bool ArticleExists(int id) { return(_articleRepository.Any(id)); }