public ActionResult Index() { if (Session["Perfil"] == null) { return(RedirectToAction("Index", "Login")); } return(View(_Marcas.Consultar())); }