public void Play(Album album)
        {
            CurrentAlbum = album;
            _currentSongIndex = 0;
            CurrentSong = album.Songs[_currentSongIndex];
            BackgroundMediaPlayer.Current.SetUriSource(CurrentSong.File);

            AlbumChanged?.Invoke(this, EventArgs.Empty);
            SongChanged?.Invoke(this, EventArgs.Empty);
        }
 public AlbumViewModel(Album album, INavigationService navigationService)
 {
     _navigationService = navigationService;
     _album = album;
     Id = album.Id;
     CoverArt = album.CoverArt;
     Name = album.Name;
     Artist = album.Artist;
     Duration = album.Duration;
 }