// GET: Training
        public ActionResult Index()
        {
            var model = new ViewModels.Training.TrainingIndexDataViewModel
            {
                Trainings = _trainingService.GetAllTrainings(),
            };

            return(View(model));
        }
        public ActionResult EmployeesAssignedToTraining(int?trainingId)
        {
            var model = new ViewModels.Training.TrainingIndexDataViewModel
            {
                Trainings = _trainingService.GetAllTrainings(),
                EmployeesAssignedToTrainings = _trainingService.GetEmployeesForTraining(trainingId)
            };

            return(View("Index", model));
        }