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

            return(mapperMovieListItem.MapToDTO(movies));
        }