예제 #1
0
        public static void Delete(int id)
        {
            Artist toRemove = Find(id);

            _instances.Remove(toRemove);
        }
예제 #2
0
        public static void AddAlbum(int id, Album newAlbum)
        {
            Artist artist = Find(id);

            artist.Albums.Add(newAlbum);
        }
예제 #3
0
 public void AddArtist(Artist artist)
 {
     Artists.Add(artist);
 }