Пример #1
0
        private List <Student> GetStudentsSortedById()
        {
            StudentAccess  context        = new StudentAccess();
            SortStudents   studentsSort   = new SortStudents();
            List <Student> sortedStudents = studentsSort.GenerateSortedList(context.GetAll());

            return(sortedStudents);
        }
Пример #2
0
        public List <Student> GetAllStudents()
        {
            StudentAccess context = new StudentAccess();

            return(context.GetAll());
        }