public ActionResult Index(int page = 1) { DBmanager dBmanager = new DBmanager(); List <PTTDATAtype> cards = dBmanager.GetPTTDATA(); ViewBag.MyPageList = cards.ToPagedList(page, 25); return(View()); }
public ActionResult Index(int page = 1) { DBmanager dBmanager = new DBmanager(); List <PTTDATAtype> cards = dBmanager.GetPTTDATA(); ViewBag.MyPageList = cards.ToPagedList(page, 25); return(View()); }