public void GetAllCats()
        {
            CategoryResponse response = repo.GetAll();
            Category         actual   = response.Categories.Where(c => c.CategoryId == 1).First();

            Assert.AreEqual(true, response.Success);
            Assert.AreEqual("Tech", actual.CategoryName);
        }
Exemple #2
0
 public CategoryResponse GetAll()
 {
     return(repo.GetAll());
 }