public ActionResult Paper(PaperType type = PaperType.LWK, int nowpageNum = 1) { PaperContext context = new PaperContext() { Type = type, NowPage = nowpageNum }; context.Init(); return(View(context)); }
public ActionResult Laws(PaperType type = PaperType.LWK, int nowpageNum = 1) { ViewBag.Title = PaperContext.TypeArrayName[(int)type]; PaperContext context = new PaperContext() { Type = type, NowPage = nowpageNum }; context.Init(); return(View(context)); }