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

            return(sortedStudents);
        }
Exemplo n.º 2
0
        public List <Student> GetAllStudents()
        {
            StudentAccess context = new StudentAccess();

            return(context.GetAll());
        }