示例#1
0
 private bool ExistPerson(Person person)
 {
     return(ManagerDA.GetAll().Any(x => x.Email == person.Email || x.Phone == person.Phone));
 }
示例#2
0
 public IEnumerable <Homework> GetAll()
 {
     return(ManagerDA.GetAll());
 }