Example #1
0
        public void TestAddSubCategories()
        {
            _repo.AddSubCategories(new SubCategory()
            {
                SubcategoryId   = "S5",
                SubcategoryName = "Pencil",
                CategoryId      = "C1",
                BriefDetails    = "Types of Pencilss",
                Gst             = "9"
            });

            var result = _repo.GetSubCatById("S5");

            Assert.IsNotNull(result);
        }