public static IEnumerable <Student> SearchStudents(Student student) { return(StudentDao.GetInstance().GetAll() .SearchBySurname(student.Surname) .SearchByName(student.Name) .SearchBySecondName(student.SecondName) .SearchByCourse(student.Course) .SearchBySpec(student.Spec) .SearchByGroupNumber(student.GroupNumber)); }
public MainWindow() { InitializeComponent(); studentDao = StudentDao.GetInstance(); }