Beispiel #1
0
 public ActionResult Create()
 {
     ViewBag.Employees              = new MultiSelectList(_employeeService.GetAllExcludes(), "Id", "Name", null);
     ViewBag.TrainedSkills          = new MultiSelectList(_SkillService.GetAllExcludes(), "Id", "Description", null);
     ViewBag.CheckUpReportsFinished = new MultiSelectList(_CheckUpReportService.GetAllExcludes(), "Id", "Content", null);
     ViewBag.CheckUpReportsWished   = ViewBag.CheckUpReportsFinished;
     return(View(new TrainingCourse()));
 }