public void DeleteTFileTest() { var file = treatFileQueryHql.GetTreat_fileByID(10); treatFileQueryHql.DeleteTreat_file(file); var testFile = treatFileQueryHql.GetTreat_fileByID(10); Assert.IsNull(testFile); }
public void DeleteTFileById(int id) { Treat_file tFile = GetTFileById(id); helperT.DeleteTreat_file(tFile); }