Beispiel #1
0
 public ActionResult AddEmployeeToDepartment(ED.AddEmployeeToDepartmentForm form)
 {
     if (ModelState.IsValid)
     {
         DepartmentService.AddEmployeeDepartment(form.SelectedEmployeeId, form.SelectedDepartmentId, SessionUser.GetUser().Id);
     }
     return(RedirectToAction("Index", "Employee"));
 }