Exemple #1
0
        public JsonResult GetPersonalList()
        {
            var filteredData   = _PersonalService.GetPersonals();
            var gridPageRecord = filteredData.Data.Skip(0).Take(50).ToList();

            DataTablesResponse tableResult = new DataTablesResponse(1, gridPageRecord, filteredData.Data.Count, filteredData.Data.Count);

            return(Json(tableResult, JsonRequestBehavior.AllowGet));
        }