public void TestGetCategorySubCategory()
        {
            var result = _repo.GetCategories();

            Assert.IsNotNull(result);
            var result1 = _repo.GetSubCategories("1");

            Assert.IsNotNull(result1);
        }
        public void TestGetSubCategories()
        {
            var result = _repo.GetSubCategories("C01");

            Assert.IsNotNull(result);
        }
Exemplo n.º 3
0
        public void TestGetSubCategory()
        {
            List <SubCategory> s = rep.GetSubCategories(1);

            Assert.NotNull(s);
        }