public IActionResult ChangeAccessCode(int key, ODataActionParameters paras)
        {
            String userId = ControllerUtility.GetUserID(this._httpContextAccessor);

            if (userId == null)
            {
                return(StatusCode(401));
            }

            var album = _context.Albums.FirstOrDefault(c => c.Id == key);

            if (album == null)
            {
                return(NotFound());
            }

            if (String.CompareOrdinal(album.CreatedBy, userId) != 0)
            {
                return(StatusCode(401));
            }

            var AccessCode = (string)paras["AccessCode"];

            if (string.IsNullOrEmpty(AccessCode))
            {
                album.AccessCodeHint = null;
            }
            else
            {
                album.AccessCodeHint = AccessCode;
            }

            _context.Attach(album);
            _context.SaveChanges();

            return(Ok(true));
        }