示例#1
0
 private bool TeacherExists(string id)
 {
     return(_repo.GeTeachers().Count(e => e.Id == id) > 0);
 }