public async Task <TrackDto> UploadTrackThroughConsole(TrackDto track) { TrackDto lastFmTrack = await _lastFm.GetFullInfoTrack(track.ArtistName, track.Name); if (string.IsNullOrEmpty(lastFmTrack.Name)) { return(null); } lastFmTrack.CloudURL = track.CloudURL; return(await UpdateTrackInDatabaseOrCreateIfNeeded(lastFmTrack)); }