Пример #1
0
 function getDataAjax(Request $request)
 {
     $dataRequest = $request->all();
     $model = new Role();
     $result = $model->getDataForPagination($dataRequest);
     die(json_encode($result));
 }