public IActionResult SaveEmployeeExam([Bind("EmployeeExam")] ProfileEducationAddExamViewModel profileEducationAddExamViewModel)
 {
     this.employeeExamService.Create(new EmployeeExam()
     {
         EmployeeId = GetCurrentEmployee().Id,
         ExamId     = profileEducationAddExamViewModel.EmployeeExam.ExamId,
         Date       = profileEducationAddExamViewModel.EmployeeExam.Date
     });
     return(RedirectToAction("ProfileEducations"));
 }
        public IActionResult ShowAddEmployeeExamView()
        {
            var vm = new ProfileEducationAddExamViewModel()
            {
                EmployeeExam = new EmployeeExam(),
                Exams        = InitializeSelectListItems(this.examService.GetAll())
            };

            return(View("ProfileEducationAddExam", vm));
        }