public ActionResult commenter(int? page) { List<comment> c = db.comments.ToList(); int pageSize = 3; int pageNumber = (page ?? 1); return View(c.ToPagedList(pageNumber, pageSize)); ; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)