public GenericRepository() { this.context = new AlbumSystemDbContext(); this.set = context.Set <T>(); }
public GenericRepository(IAlbumSystemDBContext context) { this.context = context; this.set = context.Set <T>(); }
public AlbumSystemData(IAlbumSystemDBContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }