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));
        }
 public void PostJoke(string joketext, string memberID)
 {
     JokeRepository joke = new JokeRepository();
     joke.AddJoke(joketext, int.Parse(memberID));
 }
        public ActionResult MemberIndexPartial(int MemberID)
        {
            DomainModel.Concrete.JokeRepository JR = new DomainModel.Concrete.JokeRepository();

            return PartialView("indexPartial", JR.GetMembertInterestList(MemberID));
        }
        //
        // GET: /Joke/
        public ActionResult Index()
        {
            DomainModel.Concrete.JokeRepository JR = new DomainModel.Concrete.JokeRepository();

            return View(JR.GetInterestList(0));
        }
 public string IncreaseJoke(string jokeID)
 {
     JokeRepository joke = new JokeRepository();
     return joke.IncreaseRank(int.Parse(jokeID));
 }