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; }
public SeedSampleDataCommandHandler(IPlayerDbContext context, IUserManager userManager) { _context = context; _userManager = userManager; }
public CreateSongCommandHandler(IPlayerDbContext playerDbContext, IBlobStorageService blobStorageService) { _playerDbContext = playerDbContext; _blobStorageService = blobStorageService; }