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; }
public MoviesController(IGetMoviesListQuery getMoviesListQuery, IGetMovieQuery getMovieQuery, IAddMovieCommand addCommand, IChangeMovieCommand changeCommand, IRemoveMovieCommand removeCommand) { _getMoviesListQuery = getMoviesListQuery; _getMovieQuery = getMovieQuery; _addCommand = addCommand; _changeCommand = changeCommand; _removeCommand = removeCommand; }
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; }