private void LoadRange(int index, int count) { int[] ids = GetIdsRange(index, count); List <TrackDto> tracks = apiClient.GetTracks(ids); foreach (var track in tracks) { tracksMap[track.Id] = track; } }
private void LoadRange(int index, int count) { int[] ids = GetIdsRange(index, count); List <TrackDto> tracks = apiClient.GetTracks(ids); foreach (var track in tracks) { tracksMap[track.Id] = track; } }