コード例 #1
0
 public ActionResult EditPriority(EmployeePriority empPriority)
 {
     if (ModelState.IsValid)
     {
         EmployeeDetails.UpdatePriorityDetails(empPriority);
         return(RedirectToAction("DisplayPriority", new { empId = empPriority.SelectedEMPID }));
     }
     return(View(empPriority));
 }