public bool CheckUserId(int?id, IHttpContextAccessor httpContextAccessor)
        {
            if (id == null)
            {
                throw new ArgumentNullException("Null");
            }

            var userid = currentUserService.GetCurrentUserId(httpContextAccessor);

            MovieSet movieSet = repoMovieSet.GetSingle(id);

            return(userid.Equals(movieSet.UserID));
        }
        // GET: MovieLists/Edit/5
        public IActionResult Edit(int?id)
        {
            var movieSet = _movieset.GetSingle(id);

            return(View(movieSet));
        }