public async Task <IActionResult> UpdateMovie(int userId,
                                                      [FromBody] MovieUpdateRequest movieUpdateRequest)
        {
            await _movieRankService.UpdateMovie(userId, movieUpdateRequest);

            return(Ok());
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> UpdateMovie([FromRoute] int userId, [FromRoute] string movieName, [FromBody] MovieUpdateRankingRequest movieUpdateRankingRequest)
        {
            await _movieRankService.UpdateMovie(userId, movieName, movieUpdateRankingRequest, CancellationToken.None);

            return(Ok());
        }