clean code

This commit is contained in:
jasonchenwork 2025-04-11 17:56:39 +08:00
parent f0e176ee6a
commit 7864cdb4c6

View File

@ -94,10 +94,6 @@ namespace DualScreenDemo
int songLimit = ReadHotSongLimit();
string query = $"SELECT * FROM SongLibrary WHERE `語別` = '{category}' ORDER BY `點播次數` DESC LIMIT {songLimit}";
var selectedSongs = SearchSongs_Mysql(query);
/*var selectedSongs = allSongs.Where(song => song.Category == category)
.OrderByDescending(song => song.Plays)
.Take(songLimit)
.ToList();*/
UpdateSongList(selectedSongs);
}