public async Task <IActionResult> GetAllAsync() { int accountId = JWTUtility.GetIdFromRequestHeaders(Request.Headers); if (accountId == -1) { return(BadRequest()); } var songs = await _songService.GetAllWatchAsync(accountId); var playlists = await _playlistService.GetAllWatchAsync(accountId); if (songs is null || playlists is null) { return(NotFound()); } var result = new { songs = songs, playlists = playlists }; return(Ok(result)); }