Пример #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());
 }