Exemplo n.º 1
0
 public PostersController(IAddPosterCommand addPoster, IGetPostersCommand getPosters, IGetPosterCommand getPoster, IEditPosterCommand editPoster, IDeletePosterCommand deletePoster)
 {
     this.addPoster    = addPoster;
     this.getPosters   = getPosters;
     this.getPoster    = getPoster;
     this.editPoster   = editPoster;
     this.deletePoster = deletePoster;
 }
Exemplo n.º 2
0
 public PostersController(IGetPostersCommand getPosters, IGetPosterCommand getPoster, IAddPosterCommand addPoster, IEditPosterCommand editPoster, IDeletePosterCommand deletePoster, IGetMoviesCommand getMovies, UseCaseExecutor executor)
 {
     this.getPosters   = getPosters;
     this.getPoster    = getPoster;
     this.addPoster    = addPoster;
     this.editPoster   = editPoster;
     this.deletePoster = deletePoster;
     this.getMovies    = getMovies;
     this.executor     = executor;
 }