public ActionResult Index() { if (Session["usuarioId"] != null) { ViewBag.EntityFramework = UtilDB.GetVersionAssembly("EntityFramework"); ViewBag.Postgres = UtilDB.GetVersionAssembly("Npgsql"); ViewBag.MVC = typeof(Controller).Assembly.GetName().Version;// = UtilDB.GetVersionAssembly("System.Web.Mvc"); return(View()); } else { return(RedirectToAction("Login")); } }