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