Пример #1
0
 public ActionResult Index()
 {
     if (Session["Perfil"] == null)
     {
         return(RedirectToAction("Index", "Login"));
     }
     return(View(_Marcas.Consultar()));
 }