Exemplo n.º 1
0
 public ActionResult UserImagesCheckLog()
 {
     bizUserImagesCheck buk = new bizUserImagesCheck();
     List<UserImagesCheck> list = buk.ListNew(100);
     return View(list);
 }
Exemplo n.º 2
0
        public ActionResult UserImages()
        {
            string userName = Request.QueryString["userName"] == null ? "" : Request.QueryString["userName"].ToString();
            string imagePath = Request.QueryString["imagePath"] == null ? "" : Request.QueryString["imagePath"].ToString();
            bizUserImagesCheck buk = new bizUserImagesCheck();
            bizUserImages bui = new bizUserImages();
            List<UserImagesCheck> listCheck = buk.ListNew(20);
            ViewData["CheckList"] = listCheck;
            int pageSize = 100;
            int page = Request.QueryString["page"] == null ? 1 : int.Parse(Request.QueryString["page"].ToString());
            int count;
            List<UserImagesDetail> list = bui.List(userName,imagePath, pageSize, page - 1, out count);
            ViewData["PageList"] = Page.GetPageList("UserImages?userName="******"&imagePath="+imagePath, count, pageSize, page, true);

            return View(list);
        }