public MusicMagazineData(IMusicMagazineDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }
public Repository(IMusicMagazineDbContext context) { this.context = context; this.set = context.Set <T>(); }