public IActionResult Index(int id = 1) { var pageIndex = id <= 0 ? 1 : id; var data = _service.WaitingAuditApprovals(id, out var total); ViewBag.PageIndex = pageIndex; ViewBag.RecordCount = total; return(View(data)); }