public async Task <IActionResult> GetCurrentSongPosistion(int roomId) { try { var room = await _roomDataStore.GetItemAsync(roomId.ToString()); var spotify = new SpotifyService(room.SpotifyAuthCode); var currentSong = await spotify.GetCurrentlyPlayingSongAsync(); return(Ok(currentSong.ProgressMs)); } catch (Exception ex) { return(StatusCode(500)); } }