// GET: MovieLists/Details/5
        public IActionResult Details(int?id)
        {
            if (!_authmovieset.CheckUserId(id, _httpContextAccessor))
            {
                return(Unauthorized());
            }
            var movieSet = _movieset.Get(id);

            return(View(movieSet));
        }
        // GET: MyMovies/Create
        public IActionResult Create(int id)
        {
            if (!_authmovieset.CheckUserId(id, _httpContextAccessor))
            {
                return(Unauthorized());
            }
            var myMovie = new MyMovie();

            myMovie.MovieSetID = id;
            return(View(myMovie));
        }