public ArtistsController(IArtistsService artistsService, ITattoosService tattoosService, IStylesService stylesService, IUsersService usersService)
 {
     this._artistsService = artistsService;
     this._tattoosService = tattoosService;
     this._stylesService  = stylesService;
     this._usersService   = usersService;
 }
Exemple #2
0
 public LyricsService(
     IOptionsMonitor <DatabaseOptions> optionsAccessor,
     IArtistsService artistsService)
 {
     _databaseOptions = optionsAccessor.CurrentValue;
     _artistsService  = artistsService;
 }
 public SearchController(
     ILyricsService lyricsService,
     IArtistsService artistsService)
 {
     _lyricsService  = lyricsService;
     _artistsService = artistsService;
 }
Exemple #4
0
 public LyricController(
     IArtistsService artistsService,
     ILyricsService lyricsService)
 {
     _artistsService = artistsService;
     _lyricsService  = lyricsService;
 }
Exemple #5
0
 public AlbumsService(LibraryContext context, IArtistsService artistsService, ISortService sortService, ITagsService tagsService)
 {
     _context        = context;
     _artistsService = artistsService;
     _sortService    = sortService;
     _tagsService    = tagsService;
 }
 public EditDiscsDetailsViewModel(IFolderProvider folderProvider, IDiscsService discService, IArtistsService artistService, IGenresService genreService)
 {
     this.folderProvider = folderProvider ?? throw new ArgumentNullException(nameof(folderProvider));
     this.discService    = discService ?? throw new ArgumentNullException(nameof(discService));
     this.artistService  = artistService ?? throw new ArgumentNullException(nameof(artistService));
     this.genreService   = genreService ?? throw new ArgumentNullException(nameof(genreService));
     Discs = new ObservableCollection <DiscViewItem>();
 }
 public ArtistsController(IArtistsService artistsService,
                          IAlbumsService albumsService,
                          IOptions <PagingOptions> defaultPagingOptions)
 {
     _artistsService       = artistsService;
     _albumsService        = albumsService;
     _defaultPagingOptions = defaultPagingOptions.Value;
 }
        public ArtistsController(ApplicationDbContext context, IArtistsService service, IWebHostEnvironment webHostEnvironment)
        {
            _context = context;
            _service = service;
            string rootPath = webHostEnvironment.WebRootPath;

            basePath = Path.Combine(rootPath, "res", "newImages", "artists");
        }
Exemple #9
0
        public ComicsViewModel(IArtistsService artistsService,
                               IBooksService booksService,
                               ICharactersService charactersService,
                               ICodesService codesService,
                               IPublishersService publishersService,
                               ISeriesService seriesService,
                               IStoriesService storiesService,
                               IExportBooksService exportBooksService,
                               IMapper mapper,
                               NavigationService navigationService,
                               IConfiguration configuration) : base(mapper)
        {
            _navigationService = navigationService;
            _configuration     = configuration;
            ArtistView         = new ArtistViewModel(artistsService, mapper);
            BookView           = new BookViewModel(booksService, mapper);
            CharacterView      = new CharacterViewModel(charactersService, mapper);
            CodeView           = new CodeViewModel(codesService, mapper);
            PublisherView      = new PublisherViewModel(publishersService, mapper);
            SeriesView         = new SeriesViewModel(seriesService, mapper);
            StoryView          = new StoryViewModel(storiesService, mapper);
            ReportView         = new ReportViewModel(exportBooksService, mapper);

            Languages   = LanguageType.FillLanguages();
            Actives     = FillEnum <Active>();
            FirstPrints = FillEnum <FirstPrint>();
            BookTypes   = FillEnum <BookType>();
            StoryTypes  = FillEnum <StoryType>();

            ShowArtistFromStoryWindowCommand    = new RelayCommand <int?>(new Action <int?>(ShowArtistFromStoryWindow));
            ShowBookFromPublisherWindowCommand  = new RelayCommand <int?>(new Action <int?>(ShowBookFromPublisherWindow));
            ShowBookFromSeriesWindowCommand     = new RelayCommand <int?>(new Action <int?>(ShowBookFromSeriesWindow));
            ShowBookFromStoryWindowCommand      = new RelayCommand <int?>(new Action <int?>(ShowBookFromStoryWindow));
            ShowCharacterFromStoryWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowCharacterFromStoryWindow));
            ShowCodeFromSeriesWindowCommand     = new RelayCommand <int?>(new Action <int?>(ShowCodeFromSeriesWindow));
            ShowCodeFromStoryWindowCommand      = new RelayCommand <int?>(new Action <int?>(ShowCodeFromStoryWindow));
            ShowPublisherFromBookWindowCommand  = new RelayCommand <int?>(new Action <int?>(ShowPublisherFromBookWindow));
            ShowSeriesFromBookWindowCommand     = new RelayCommand <int?>(new Action <int?>(ShowSeriesFromBookWindow));
            ShowSeriesFromCodeWindowCommand     = new RelayCommand <int?>(new Action <int?>(ShowSeriesFromCodeWindow));
            ShowStoryFromArtistWindowCommand    = new RelayCommand <int?>(new Action <int?>(ShowStoryFromArtistWindow));
            ShowStoryFromBookWindowCommand      = new RelayCommand <int?>(new Action <int?>(ShowStoryFromBookWindow));
            ShowStoryFromCharacterWindowCommand = new RelayCommand <int?>(new Action <int?>(ShowStoryFromCharacterWindow));
            ShowStoryFromCodeWindowCommand      = new RelayCommand <int?>(new Action <int?>(ShowStoryFromCodeWindow));

            ShowArtistWindowCommand    = new RelayCommand(new Action(ShowArtistWindow));
            ShowBookWindowCommand      = new RelayCommand(new Action(ShowBookWindow));
            ShowCharacterWindowCommand = new RelayCommand(new Action(ShowCharacterWindow));
            ShowCodeWindowCommand      = new RelayCommand(new Action(ShowCodeWindow));
            ShowPublisherWindowCommand = new RelayCommand(new Action(ShowPublisherWindow));
            ShowSeriesWindowCommand    = new RelayCommand(new Action(ShowSeriesWindow));
            ShowStoryWindowCommand     = new RelayCommand(new Action(ShowStoriesWindow));
            ShowReportWindowCommand    = new RelayCommand(new Action(ShowReportWindow));
        }
Exemple #10
0
 public HomeController()
 {
     _settingService            = EngineContext.Current.Resolve <ISettingService>();
     _workContext               = EngineContext.Current.Resolve <IWorkContext>();
     _cacheManager              = EngineContext.Current.Resolve <ICacheManager>();
     _articleRepository         = EngineContext.Current.Resolve <IBaseRepository <Article> >();
     _articleLanguageRepository = EngineContext.Current.Resolve <IBaseRepository <ArticleLanguage> >();
     _resourceService           = EngineContext.Current.Resolve <IResourceService>();
     _articleService            = EngineContext.Current.Resolve <IArticleService>();
     _artistsService            = EngineContext.Current.Resolve <IArtistsService>();
     _videoService              = EngineContext.Current.Resolve <IVideoService>();
     _mediaService              = EngineContext.Current.Resolve <IMediaService>();
 }
 public ArtistsController(IArtistsService service)
 {
     _service = service;
 }
Exemple #12
0
 public ArtistsGrpcServiceImpl(IArtistsService artistsService)
 {
     _artistsService = artistsService;
 }
 public AlbumsController(IAlbumsService albumsService, IHelperService helperService, IArtistsService artistsService)
 {
     _albumsService = albumsService;
     _helperService = helperService;
 }
Exemple #14
0
 public ImagesService(
     IArtistsService artistsService)
 {
     _artistsService = artistsService;
 }
Exemple #15
0
 public ArtistsController(IArtistsService artistsService, IHelperService helperService)
 {
     _artistsService = artistsService;
     _helperService  = helperService;
 }
Exemple #16
0
 public TattoosController(ITattoosService tattoosService, IArtistsService artistsService, IStylesService stylesService)
 {
     this._tattoosService = tattoosService;
     this._artistsService = artistsService;
     this._stylesService  = stylesService;
 }
Exemple #17
0
 public ArtistsController(IArtistsService artistsService)
 {
     this.artists = artistsService;
 }
Exemple #18
0
 public SeedElementsSuggestionsService(IArtistsService artistsService, IGenresService genresService)
 {
     _artistsService = artistsService;
     _genresService  = genresService;
 }
Exemple #19
0
 public ArtistController(
     IArtistsService artistsService)
 {
     _artistsService = artistsService;
 }
 public ArtistViewModel(IArtistsService artistsService,
                        IMapper mapper) : base(mapper)
 {
     this.artistsService = artistsService;
     Artist = new ArtistModel();
 }
 public ExploreController(IArtistsService artistsService, ILibraryService libraryService)
 {
     _artistsService = artistsService;
     _libraryService = libraryService;
 }
 public ArtistsController(IArtistsService artistService)
 {
     this.artists = artistService;
 }
Exemple #23
0
        //ArtistsService artistsService = new ArtistsService();

        public SingersController(IArtistsService artistsService)
        {
            this.artistsService = artistsService;
        }