Ejemplo n.º 1
0
 /// <summary>
 /// Return the Album with the specified Id or null if not found
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public static Album GetAlbumById(int id) => IdLookup.GetValueOrDefault(id);
Ejemplo n.º 2
0
 /// <summary>
 /// Return the artist with the specified Id or null if not found
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public static Artist GetArtistById(int id) => IdLookup.GetValueOrDefault(id);