예제 #1
0
 protected override IJsonToken LibraryResponse(Library library)
 {
     int id = int.Parse(Request.QueryString["id"]);
     Song song;
     if (library.TryGetSong(id, out song)) {
         return song.ToJson();
     }
     return null;
 }