private List <Student> GetStudentsSortedById() { StudentAccess context = new StudentAccess(); SortStudents studentsSort = new SortStudents(); List <Student> sortedStudents = studentsSort.GenerateSortedList(context.GetAll()); return(sortedStudents); }
public List <Student> GetAllStudents() { StudentAccess context = new StudentAccess(); return(context.GetAll()); }