// GET: FavouriteMovies
        public ActionResult Index()
        {
            string       currentUserId         = User.Identity.GetUserId();
            var          currentUserFavourites = db.FavouriteMovies.Where(x => x.UserId == currentUserId).ToList();
            List <Movie> favouriteMovies       = new List <Movie>();

            foreach (var movie in currentUserFavourites)
            {
                Object obj = MovieDatabase.ObjectToXML(movie.MovieInfo.ToString(), typeof(Movie));
                favouriteMovies.Add((Movie)obj);
            }

            ViewBag.Results = favouriteMovies;
            return(View());
        }