public ActionResult AddToFav(int movieId)
        {
            var movieToBeAdded = _movieService.GetById(movieId);

            var favMovies = _favListSessionService.GetFavoriteMovies();

            _favMovieService.AddToFavMovie(favMovies, movieToBeAdded);

            _favListSessionService.SetFavoriteMovies(favMovies);

            TempData.Add("message", String.Format("{0},was succesfully added to the favorite list!", movieToBeAdded.Name));

            return(RedirectToAction("Index", "Home"));
        }
        public ViewViewComponentResult Invoke()
        {
            var model = new FavListSummaryViewModel
            {
                FavoriteMovies = _favListSessionService.GetFavoriteMovies()
            };

            return(View(model));
        }