예제 #1
0
 public virtual Task <IEnumerable <Movie> > GetMovieList(MovieDefinedListSpecification listSpecification, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(movieReader.GetMovieList(listSpecification, cancellationToken));
 }
예제 #2
0
        public async Task <IEnumerable <MovieListItemDTO> > Get()
        {
            var movies = await movieReader.GetMovieList(new MovieDefinedListSpecification());

            return(mapperMovieListItem.MapToDTO(movies));
        }