public async Task AddTrackByPlaylistIdAsync(Models.Track track, long playlistId) { await _track.AddTrackAsync(track); var currentPlayList = await _playLists.GetPlayLists().FirstOrDefaultAsync(p => p.Id == playlistId); var trackPlayList = new TrackPlayList { Track = track, PlayList = currentPlayList }; await _trackPlayList.AddAsync(trackPlayList); }