public ActionResult DeleteEmployeePriority(string empId, string PID) { EmployeeDetails.DeleteEmployeePriority(PID); if (empId == "-1") { empId = null; } return(GetEmployeePriority(empId)); }