Exemplo n.º 1
0
        public ActionResult Index(int page = 1)
        {
            DBmanager          dBmanager = new DBmanager();
            List <PTTDATAtype> cards     = dBmanager.GetPTTDATA();

            ViewBag.MyPageList = cards.ToPagedList(page, 25);


            return(View());
        }