public IActionResult AllStudentsBirthday(AllStudentProfilesFullViewModel model)
        {
            int orderByMethod         = (int)model.OrderByMethod;
            int ascendingOrDescending = (int)model.AscendingOrDescending;

            var allStudentsByBirthdayOrdered = this.studentService.GetAllStudentProfilesFullByDateOfBirthTodayOrdered(orderByMethod, ascendingOrDescending);

            model.AllStudentsFull = allStudentsByBirthdayOrdered;

            return(View("AllStudents", model));
        }
        public IActionResult AllStudentsBirthday()
        {
            var allStudentProfilesFullServiceByBirthday = this.studentService.GetAllStudentProfilesFullByDateOfBirthToday();

            var model = new AllStudentProfilesFullViewModel
            {
                AllStudentsFull = allStudentProfilesFullServiceByBirthday
            };

            return(View("AllStudents", model));
        }
        public IActionResult AllStudentsByGender(int id, AllStudentProfilesFullViewModel model)
        {
            int orderByMethod         = (int)model.OrderByMethod;
            int ascendingOrDescending = (int)model.AscendingOrDescending;

            var allStudentsByGenderOrdered = this.studentService.GetAllStudentProfilesFullByGenderOrdered(id, orderByMethod, ascendingOrDescending);

            model.AllStudentsFull = allStudentsByGenderOrdered;

            return(View("AllStudents", model));
        }
        public IActionResult AllStudentsByGender(int id)
        {
            var allStudentProfilesFullServiceByGender = this.studentService.GetAllStudentProfilesFullByGender(id);

            var model = new AllStudentProfilesFullViewModel
            {
                AllStudentsFull = allStudentProfilesFullServiceByGender
            };

            return(View("AllStudents", model));
        }
        public IActionResult AllStudents(AllStudentProfilesFullViewModel model)
        {
            int orderByMethod         = (int)model.OrderByMethod;
            int ascendingOrDescending = (int)model.AscendingOrDescending;

            var allStudentsOrdered = this.studentService.GetAllStudentProfilesFullOrdered(orderByMethod, ascendingOrDescending);

            model.AllStudentsFull = allStudentsOrdered;

            return(this.View(model));
        }
        public IActionResult AllStudents()
        {
            var allStudentProfilesFullService = this.studentService.GetAllStudentProfilesFull();

            var model = new AllStudentProfilesFullViewModel
            {
                AllStudentsFull = allStudentProfilesFullService,
            };

            return(this.View(model));
        }