public async Task <ActionResult> AddMovieToList([FromBody] MovieWatchList movie) { try { var keycloakId = _tokenHelper.ValidateToken(movie.token); _log.LogInformation($"AddMovieToList(MovieWatchList {movie.movieId}) endpoint called"); return(Ok(await _watchList.AddMovieToList(keycloakId, movie.movieId))); } catch (Exception e) { _log.LogError("couldn't Add Movie To user ", e, $"Exception({movie.movieId})", movie.movieId); return(StatusCode(500)); } }