Пример #1
0
 public CountriesController(IGetCountriesCommand getCountries, IGetCountryCommand getCountry, IAddCountryCommand addCountry, IEditCountryCommand editCountry, IDeleteCountryCommand deleteCountry)
 {
     this.getCountries  = getCountries;
     this.getCountry    = getCountry;
     this.addCountry    = addCountry;
     this.editCountry   = editCountry;
     this.deleteCountry = deleteCountry;
 }
Пример #2
0
 public CountriesController(IGetCountriesCommand getCountries, IGetCountryCommand getCountry, IAddCountryCommand addCountry, IEditCountryCommand editCountry, IDeleteCountryCommand deleteCountry, UseCaseExecutor executor)
 {
     this.getCountries  = getCountries;
     this.getCountry    = getCountry;
     this.addCountry    = addCountry;
     this.editCountry   = editCountry;
     this.deleteCountry = deleteCountry;
     this.executor      = executor;
 }
Пример #3
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;
 }