Esempio n. 1
0
        public IActionResult GetDiscountStudents(StudentViewModel studentViewModel)
        {
            StudentBL studentBL         = new StudentBL(_unitOfWork, _mapper);
            var       students          = studentBL.GetDiscountStudents(studentViewModel.FacultyName, studentViewModel.GroupName, studentViewModel.StudentId, studentViewModel.StartDate, studentViewModel.EndDate);
            var       studentsViewModel = this._mapper.Map <Filter, FilterViewModel>(students);

            return(View("~/Views/Student/GetDiscountStudentsPost.cshtml", studentsViewModel));
        }