Exemple #1
0
        public IActionResult GetAssignedTelephoneList([FromBody] JqueryDataTablesParameters param)
        {
            var results = _iTelephoneRepository.GetAssignedTelephoneList(param);

            return(new JsonResult(new JqueryDataTablesResult <AssignTelePhoneAC>
            {
                Draw = param.Draw,
                Data = results.Items,
                RecordsFiltered = results.TotalSize,
                RecordsTotal = results.TotalSize
            }));
        }