Example #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;
 }
 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;
 }
Example #3
0
 public HomeController(ILogger <HomeController> logger, IGetMoviesCommand getMovies, IGetMovieCommand getMovie, IGetPostersCommand getPosters, IGetCommentsCommand getComments, IGetProjectionsCommand getProjections, IGetActorsCommand getActors, IGetReservationsCommand getReservations, IAutoAddSeatValuesCommand autoAdd, ImdbTop100Command imdbService)
 {
     _logger              = logger;
     this.getMovies       = getMovies;
     this.getMovie        = getMovie;
     this.getPosters      = getPosters;
     this.getComments     = getComments;
     this.getProjections  = getProjections;
     this.getActors       = getActors;
     this.getReservations = getReservations;
     this.autoAdd         = autoAdd;
     this.imdbService     = imdbService;
 }