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