示例#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);
示例#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);