示例#1
0
 public bool DeleteInstructor(InstructorDao instructor)
 {
     try
     {
         return(ac.DeleteInstructor(emap.MapToData(instructor)));
     }
     catch (Exception)
     {
         return(false);
     }
 }
示例#2
0
 public void Test_DeleteInstructor()
 {
     instructor.InstructorId = 1;
     Assert.True(ah.DeleteInstructor(instructor));
 }