Exemple #1
0
 public void TestDeleteSubcategory_Success(int subid)
 {
     try
     {
         _repo.DeletSubCategory(subid);
         var result = _repo.getsubcategorybyid(subid);
         Assert.IsNull(result);
     }
     catch (Exception ex)
     {
         Assert.Fail(ex.InnerException.Message);
     }
 }