Ejemplo n.º 1
0
 public MoviesController(IGetMoviesCommand getMovies, IGetMovieCommand getMovie, IAddMovieCommand addMovie, IEditMovieCommand editMovie, IDeleteMovieCommand deleteMovie)
 {
     this.getMovies   = getMovies;
     this.getMovie    = getMovie;
     this.addMovie    = addMovie;
     this.editMovie   = editMovie;
     this.deleteMovie = deleteMovie;
 }
Ejemplo n.º 2
0
 public MoviesController(Context baza, IGetMoviesCommand getMovies, ICreateMovieCommand createMovie, IDeleteMovieCommand deleteMovie, IEditMovieCommand editMovie)
 {
     this.getMovies   = getMovies;
     this.createMovie = createMovie;
     this.deleteMovie = deleteMovie;
     this.editMovie   = editMovie;
     this.baza        = baza;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
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;
 }
Ejemplo n.º 5
0
 public ProjectionsController(IGetProjectionsCommand getProjections, IGetProjectionCommand getProjection, IAddProjectionCommand addProjection, IEditProjectionCommand editProjection, IDeleteProjectionCommand deleteProjection, IGetMoviesCommand getMovies, IGetHallsCommand getHalls, UseCaseExecutor executor)
 {
     this.getProjections   = getProjections;
     this.getProjection    = getProjection;
     this.addProjection    = addProjection;
     this.editProjection   = editProjection;
     this.deleteProjection = deleteProjection;
     this.getMovies        = getMovies;
     this.getHalls         = getHalls;
     this.executor         = executor;
 }
Ejemplo n.º 6
0
 public CommentsController(UseCaseExecutor executor, IGetCommentsCommand getComments, IGetCommentCommand getComment, IAddCommentCommand addComment, IEditCommentCommand editComment, IDeleteCommentCommand deleteComment, IGetUsersCommand getUsers, IGetMoviesCommand getMovies)
 {
     this.executor      = executor;
     this.getComments   = getComments;
     this.getComment    = getComment;
     this.addComment    = addComment;
     this.editComment   = editComment;
     this.deleteComment = deleteComment;
     this.getUsers      = getUsers;
     this.getMovies     = getMovies;
 }
Ejemplo n.º 7
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;
 }
Ejemplo n.º 8
0
 public MoviesController(IGetMoviesCommand getMovies, IGetMovieCommand getMovie, IAddMovieCommand addMovie, IEditMovieCommand editMovie, IDeleteMovieCommand deleteMovie, IGetGenresCommand getGenres, IGetActorsCommand getActors, IGetLanguagesCommand getLanguages, IGetWritersCommand getWriters, IGetProductionsCommand getProductions, IGetCountriesCommand getCountries, IGetRatedsCommand getRateds, UseCaseExecutor executor, IActivateMovieCommand activateMovie)
 {
     this.getMovies      = getMovies;
     this.getMovie       = getMovie;
     this.addMovie       = addMovie;
     this.editMovie      = editMovie;
     this.deleteMovie    = deleteMovie;
     this.getGenres      = getGenres;
     this.getActors      = getActors;
     this.getLanguages   = getLanguages;
     this.getWriters     = getWriters;
     this.getProductions = getProductions;
     this.getCountries   = getCountries;
     this.getRateds      = getRateds;
     this.executor       = executor;
     this.activateMovie  = activateMovie;
 }