Example #1
0
        //
        // GET: /Follow/
        public ActionResult Index(string blogTitle, int?page)
        {
            var userId = User.Identity.GetUserId <int>();

            ViewBag.BlogTitle = blogTitle;
            int pageNumber = page ?? 1;

            return(View(_followService.GetBlogPagedList(userId, blogTitle, pageNumber)));
        }