예제 #1
0
 private async Task Ban()
 {
     if (PlayList.Count > 0)
     {
         CurrentSong = PlayList.Dequeue();
         SetPlayList(await _songService.Ban(CurrentSong.SID, CurrentChannel.Id));
     }
     else
     {
         SetPlayList(await _songService.Ban(CurrentSong.SID, CurrentChannel.Id));
         CurrentSong = PlayList.Dequeue();
     }
 }