public ActionResult Index(string author) { HttpContext.Session.SetString(SessionKeyName, author); return(View(BlogPostRepository.GetByAuthor(author))); }