public ActionResult indexPartial(int? PageNo) { DomainModel.Concrete.JokeRepository JR = new DomainModel.Concrete.JokeRepository(); if (PageNo == null) PageNo = 0 ; return PartialView("indexPartial", JR.GetInterestList(PageNo.Value)); }
// // GET: /Joke/ public ActionResult Index() { DomainModel.Concrete.JokeRepository JR = new DomainModel.Concrete.JokeRepository(); return View(JR.GetInterestList(0)); }