Exemple #1
0
        private List <long> GetFilterGenres(string city, RoomType roomType)
        {
            List <string> mostPopularGenres = _cinemaService.GetMostPopularGenres(city, roomType);

            return(_genresService.GetAllGenres().Where(x => mostPopularGenres.Contains(x.Key)).
                   Select(x => x.Value).ToList());
        }