Ejemplo n.º 1
0
        // GET: Home
        public ActionResult Index()
        {
            var movieBLL   = new MovieBLL();
            var moviemerge = movieBLL.GetAll();

            return(View(moviemerge));
        }
        //List alle filmer
        public ActionResult AllMovies()
        {
            if (Session["Admin"] == null)
            {
                return(View("NotAllowed"));
            }
            var movieBLL   = new MovieBLL();
            var moviemerge = movieBLL.GetAll();

            return(View(moviemerge.Movie));
        }