Ejemplo n.º 1
0
        public ActionResult AddPriority(EmployeePriority empPriority)
        {
            if (ModelState.IsValid)
            {
                EmployeeDetails.AddPriority(empPriority);
                return(RedirectToAction("DisplayPriority", new { empId = empPriority.EmployeeID }));
            }

            return(View(empPriority));
        }