コード例 #1
0
        public ActionResult BlogPostsByTag(int id, int?page)
        {
            var model = _blogServices.AllBlogPostsByTag(id);

            return(View(model.ToPagedList(pageNumber: page ?? 1, pageSize: 5)));
        }