Exemple #1
0
 public IActionResult DataTableAjaxHandler(IDataTablesRequest request)
 {
     try
     {
         DataTablesJsonResult model = _repo.GetAllBerat(request);
         return(model);
     }
     catch (Exception ex)
     {
         return(Json(new { error = ex.Message }));
     }
 }