Example #1
0
        public ActionResult GetEmployeePriority(string empId)
        {
            if (empId == "-1")
            {
                empId = null;
            }
            DataTable dtEmpPriority    = EmployeeDetails.GetEmployeePriority(empId);
            string    employeePriority = EmployeeDetails.DataTableToJsonWithJavaScriptSerializer(dtEmpPriority);

            return(Json(employeePriority));
        }