public PartialViewResult _ConsumeRecord(string consumeType, int page = 1) { int total; var list = _consumeRecordSiteContract.GetConsumeRecordByPage("", page, 5, out total).AppendData as List <ConsumeRecordModel>; ViewBag.Pager = PagerHelper.CreatePagerByUrl(page, 5, total, ""); return(PartialView(list)); }
//用户列表 // GET: /Areas/Home/ public ActionResult Index(int?uid, string unicename, int page = 1) { var total = 0; int size = 10; var list = _accountService.GetUserList(uid, unicename, page, size, out total).AppendData as List <Member>; ViewBag.Pager = PagerHelper.CreatePagerByUrl(page, size, total, ""); return(View(list)); }