public StoreController(
     IGenreQueryService genreQueryService,
     IAlbumQueryService albumQueryService)
 {
     _genreQueryService = genreQueryService;
     _albumQueryService = albumQueryService;
 }
 public StoreController(
     IGenreQueryService genreQueryService,
     IAlbumQueryService albumQueryService)
 {
     _genreQueryService = genreQueryService;
     _albumQueryService = albumQueryService;
 }
 public StoreController(
     ILoggerFactory loggerfactory,
     IServiceProvider serviceProvider,
     IGenreQueryService genreQueryService,
     IAlbumQueryService albumQueryService)
 {
     _serviceProvider   = serviceProvider;
     _genreQueryService = genreQueryService;
     _albumQueryService = albumQueryService;
     _logger            = loggerfactory.CreateLogger(nameof(StoreController));
 }
コード例 #4
0
		public StoreController(
			ILoggerFactory loggerfactory, 
			IServiceProvider serviceProvider,
			IGenreQueryService genreQueryService,
			IAlbumQueryService albumQueryService)
		{
			_serviceProvider = serviceProvider;
			_genreQueryService = genreQueryService;
			_albumQueryService = albumQueryService;
			_logger = loggerfactory.CreateLogger(nameof(StoreController));
		}
		public void GivenValidGenreService()
		{
			this.genreQueryService = new API.Services.Query.GenreQueryService(DbContextHelper.CreateDbContextFactory());
		}
 public void GivenValidGenreService()
 {
     this.genreQueryService = new API.Services.Query.GenreQueryService(DbContextHelper.CreateDbContextFactory());
 }