public SeedData(MusicContext dataContext, ILogger <SeedData> log, IRepository repo, ConstantData constants) { context = dataContext; logger = log; repository = repo; Genres = constants.Genres; Occasions = constants.Occasions; Musicians = constants.Musicians; }
public EFRepository(MusicContext ctx) { context = ctx; }