public bool IsValidGetMovieByIdRequest(GetMovieByIdRequest request, out Metadata trailers)
        {
            if (request is null)
            {
                throw new ArgumentNullException(nameof(request));
            }

            return(_getMovieByIdRequestValidator.IsValid(request, out trailers));
        }
        public static GetMovieByIdRequest AsRequest(this GetMovieByIdWebRequest webRequest)
        {
            var result = new GetMovieByIdRequest
            {
                Id = webRequest.Id
            };

            return(result);
        }
        public async Task <GetMovieByIdResponse> GetMovieByIdAsync(GetMovieByIdRequest request)
        {
            var result = new GetMovieByIdResponse()
            {
                Data = await this.moviesRepository.GetMovieByIdAsync(request.Id)
            };

            return(result);
        }