public ArtistsData(IArtistsDbContext context) { this.context = context; this.Artists = new Repository <Artist>(this.context); this.Songs = new Repository <Song>(this.context); this.Albums = new Repository <Album>(this.context); }
public Repository(IArtistsDbContext context) { this.context = context; this.set = context.Set <T>(); }
public ArtistsSystemData(IArtistsDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }