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