Example #1
0
 public ActionResult NuevaPelicula()
 {
     if (Session["user"] == null)
     {
         Session["redirect"] = "NuevaPelicula";
         return(RedirectToAction("Login", "Home"));
     }
     ViewBag.Calificaciones = pservice.ObtenerCalificaciones();
     ViewBag.Generos        = pservice.ObtenerGeneros();
     return(View());
 }
Example #2
0
 public ActionResult Inicio()
 {
     ViewBag.Peliculas = pservice.ObtenerPeliculas();
     ViewBag.Genero    = pservice.ObtenerGeneros();
     return(View());
 }