Beispiel #1
0
        private List <Student> GetStudentsSortedById()
        {
            StudentAccess  context        = new StudentAccess();
            SortStudents   studentsSort   = new SortStudents();
            List <Student> sortedStudents = studentsSort.GenerateSortedList(context.GetAll());

            return(sortedStudents);
        }
Beispiel #2
0
        public List <Student> GetAllStudents()
        {
            StudentAccess context = new StudentAccess();

            return(context.GetAll());
        }