private async Task CreateRequest(CreateMovieRequestCommand request, MovieDetails movieDetail, ExternalIds externalIds)
        {
            var newRequest = new MovieRequestRow
            {
                UserId       = _claimsPrincipalAccessor.UserId,
                Title        = movieDetail.Title,
                AirDateUtc   = DateTime.Parse(movieDetail.Release_Date),
                ImagePath    = movieDetail.Poster_Path,
                TheMovieDbId = request.TheMovieDbId
            };

            newRequest.MovieRequestAgents.Add(new MovieRequestAgentRow(AgentTypes.TheMovieDb, request.TheMovieDbId.ToString()));

            if (!string.IsNullOrEmpty(externalIds.Imdb_Id))
            {
                newRequest.MovieRequestAgents.Add(new MovieRequestAgentRow(AgentTypes.Imdb, externalIds.Imdb_Id));
            }

            await _requestService.Add(newRequest);
        }
 private void GivenARequestIsCreated()
 {
     _requestService.Add(Arg.Do <MovieRequestRow>(x => _createdRequest = x));
 }