コード例 #1
0
 public ActionResult Index(string author)
 {
     HttpContext.Session.SetString(SessionKeyName, author);
     return(View(BlogPostRepository.GetByAuthor(author)));
 }