Example #1
0
        private void PopulateAlbumDetails()
        {
            Title = string.Empty;

            var album = Album?.Title == AddNew ? null : Album;

            Title       = album?.Title ?? string.Empty;
            ReleaseType = album?.ReleaseType ?? EnumHelpers.GetDefaultValue <ReleaseType>();
            Year        = album?.Year ?? string.Empty;
            DiscCount   = album?.DiscCount.ToString() ?? string.Empty;
            UpdateArtwork(album?.Artwork);

            _disc.PopulateDiscDetails();
        }