public ActionResult LoadEmployeeDetails(string employeeID, string employeeName, string designation, string locationCode, string employeeStatus) { objLoginHelper = (LoginHelper)Session["LogInInformation"]; List <EmployeeDetailsInfo> lstEmployeeDetails = new List <EmployeeDetailsInfo>(); lstEmployeeDetails = hrmsData.ReadEmployeeSearchDetails(employeeID, employeeName, designation, locationCode, Convert.ToByte(employeeStatus)); return(View(new GridModel <EmployeeDetailsInfo> { Data = lstEmployeeDetails })); }