[HttpPost] public JsonResult Index(bool includeInActive = false, string searchKey = "", string sortField = "ID", string sortDirection = "asc") { objEmployee = new Employee(); try { objEmployee.GetEmployees(sortField, sortDirection, searchKey, includeInActive); return Json(objEmployee.dtEmployees, JsonRequestBehavior.AllowGet); } catch (Exception ex) { throw ex; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)