Exemplo n.º 1
0
        public ActionResult Paper(PaperType type = PaperType.LWK, int nowpageNum = 1)
        {
            PaperContext context = new PaperContext()
            {
                Type    = type,
                NowPage = nowpageNum
            };

            context.Init();
            return(View(context));
        }
Exemplo n.º 2
0
        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));
        }