public GetAllSongsQueryHandler(IPlayerDbContext playerDbContext)
 {
     _playerDbContext = playerDbContext;
 }
        // Data to seed
        // private readonly Dictionary<int, Song> Songs = new Dictionary<int, Song>();

        public SampleDataSeeder(IPlayerDbContext context, IUserManager userManager)
        {
            _context     = context;
            _userManager = userManager;
        }
 public GetSongDetailsQueryHandler(IPlayerDbContext playerDbContext)
 {
     _playerDbContext = playerDbContext;
 }
Esempio n. 4
0
 public SeedSampleDataCommandHandler(IPlayerDbContext context, IUserManager userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
 public CreateSongCommandHandler(IPlayerDbContext playerDbContext,
                                 IBlobStorageService blobStorageService)
 {
     _playerDbContext    = playerDbContext;
     _blobStorageService = blobStorageService;
 }