Exemple #1
0
        public async Task <IActionResult> AddToWatchlist([FromBody] long movieId)
        {
            long userId = Convert.ToInt64(User.FindFirst(ClaimTypes.Name).Value);

            await service.AddToWatchlist(movieId, userId);

            return(Ok());
        }