public ActionResult MailInbox(int id = 0, int page = 1) { int _pageSize = 8; mailRsy = new MailRepository(); PagerData<Mail> _aData; _aData = mailRsy.List_Inbox(UserController.UserName, page, _pageSize); string rn = "邮件"; string ru = "篇"; _aData.Config.RecordName =rn; _aData.Config.RecordUnit = ru; return View(_aData); }