public GenresController(IAddGenreCommand addGenre, IGetGenresCommand getGenres, IGetGenreCommand getGenre, IEditGenreCommand editGenre, IDeleteGenreCommand deleteGenre) { this.addGenre = addGenre; this.getGenres = getGenres; this.getGenre = getGenre; this.editGenre = editGenre; this.deleteGenre = deleteGenre; }
public GenresController(IGetGenresCommand getGenres, IGetGenreCommand getGenre, IAddGenreCommand addGenre, IEditGenreCommand editGenre, IDeleteGenreCommand deleteGenre, UseCaseExecutor executor) { this.getGenres = getGenres; this.getGenre = getGenre; this.addGenre = addGenre; this.editGenre = editGenre; this.deleteGenre = deleteGenre; this.executor = executor; }
public GenresService(IAddGenreCommand addGenreCommand, IUpdateGenreCommand updateGenreCommand, IListAllGenresQuery listAllGenresQuery, IGenreSelectListQuery genreSelectListQuery) { _addGenreCommand = addGenreCommand; _updateGenreCommand = updateGenreCommand; _listAllGenresQuery = listAllGenresQuery; _genreSelectListQuery = genreSelectListQuery; }