public RedirectToActionResult Change(CountryListViewModel model) { var session = new CountrySession(HttpContext.Session); session.SetName(model.UserName); return(RedirectToAction("Index", "Home", new { ActiveGame = session.GetActiveGame(), ActiveSport = session.GetActiveSport(), ActiveCategory = session.GetActiveCategory() })); }