示例#1
0
        public IActionResult Category(string category)
        {
            var blog = _blog.GetArticlesByCategory(category).OrderByDescending(x => x.Id).ToList();

            return(View(blog));
        }