public JsonResult GetTipos(int page = 1, int limit = 10) { var tipos = _evaluacionService.GetTipoEvaluacionPagedList(page > 0 ? page - 1 : page, limit); var records = tipos.Items; var total = tipos.TotalCount; return(Json( new { records, total } , JsonRequestBehavior.AllowGet)); }