public void GetFilmSuggestionBasedOnGenre_ValidOneParameter_ReturnsSearchMovie()
        {
            // arrange
            List <int> genreIds = new List <int>()
            {
                12
            };

            // act
            var movie = _service.GetFilmSuggestionBasedOnGenre(genreIds);

            // assert
            Assert.NotNull(movie);
            Assert.Contains(12, movie.GenreIds);
        }
        public Film GetFilmSuggestionBasedOnGenre([FromRoute] string stringIds)
        {
            if (stringIds == "" || stringIds == null)
            {
                return(GenerateFilmSuggestion());
            }

            var intIds = GetIntIdsFromString(stringIds);

            var result = _service.GetFilmSuggestionBasedOnGenre(intIds);

            if (result == null)
            {
                return(new Film());
            }

            var movie = CreateModelFromApiResult(result);

            return(movie);
        }