public LanguagesController(IGetLanguagesCommand getLanguages, IAddLanguageCommand addLanguage, IGetLanguageCommand getLanguage, IEditLanguageCommand editLanguage, IDeleteLanguageCommand deleteLanguage)
 {
     this.getLanguages   = getLanguages;
     this.addLanguage    = addLanguage;
     this.getLanguage    = getLanguage;
     this.editLanguage   = editLanguage;
     this.deleteLanguage = deleteLanguage;
 }
Esempio n. 2
0
 public LanguagesController(IGetLanguagesCommand getLanguages, IGetLanguageCommand getLanguage, IAddLanguageCommand addLanguage, IEditLanguageCommand editLanguage, IDeleteLanguageCommand deleteLanguage, UseCaseExecutor executor)
 {
     this.getLanguages   = getLanguages;
     this.getLanguage    = getLanguage;
     this.addLanguage    = addLanguage;
     this.editLanguage   = editLanguage;
     this.deleteLanguage = deleteLanguage;
     this.executor       = executor;
 }
Esempio n. 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;
 }
Esempio n. 4
0
 public GetLanguagesHandler(IGetLanguagesCommand getLanguagesCommand, IMapper mapper)
 {
     _getLanguagesCommand = getLanguagesCommand;
     _mapper = mapper;
 }