Example #1
0
        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));
        }
Example #2
0
        //
        // GET: /Joke/
        public ActionResult Index()
        {
            DomainModel.Concrete.JokeRepository JR = new DomainModel.Concrete.JokeRepository();

            return View(JR.GetInterestList(0));
        }