示例#1
0
 public ActorsController(IAddActorCommand addActorCommand, IGetActorsCommand getActorsCommand, IGetActorCommand getActorCommand, IEditActorCommand editActorCommand, IDeleteActorCommand deleteActorCommand)
 {
     this.addActorCommand    = addActorCommand;
     this.getActorsCommand   = getActorsCommand;
     this.getActorCommand    = getActorCommand;
     this.editActorCommand   = editActorCommand;
     this.deleteActorCommand = deleteActorCommand;
 }
示例#2
0
 public ActorsController(IAddActorCommand addActors, IGetActorsCommand getActors, IGetActorCommand getActor, IEditActorCommand editActor, IDeleteActorCommand deleteActor)
 {
     this.addActors   = addActors;
     this.getActors   = getActors;
     this.getActor    = getActor;
     this.editActor   = editActor;
     this.deleteActor = deleteActor;
 }
示例#3
0
 public MoviesController(IGetMoviesCommand getMovies, IGetActorsCommand getActors, IGetGenresCommand getGenres, ICreateMovieCommand createMovie, IDeleteMovieCommand deleteMovie, IEditMovieCommand editMovie, IGetOneMovieCommand getOneMovie)
 {
     this.getMovies   = getMovies;
     this.getActors   = getActors;
     this.getGenres   = getGenres;
     this.createMovie = createMovie;
     this.deleteMovie = deleteMovie;
     this.editMovie   = editMovie;
     this.getOneMovie = getOneMovie;
 }
示例#4
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;
 }