public IActionResult Create()
        {
            var model = new CreateMusicViewModel()
            {
                Singers = _singerAppService.GetPublishedSingersHasAlbums()?
                          .Select(s => new SelectListItem()
                {
                    Text  = s.Name,
                    Value = s.Id.ToString(),
                }),
                Albums = _albumAppService.GetPublishedAlbums()?
                         .Select(s => new SelectListItemEntity()
                {
                    Item = new SelectListItem()
                    {
                        Text  = s.Name,
                        Value = s.Id.ToString(),
                    },
                    ParentId = s.SingerId.ToString()
                }),
            };

            if (model.Singers.Any())
            {
                model.Singers.First().Selected = true;
            }
            if (model.Albums.Any())
            {
                model.Albums.First().Item.Selected = true;
            }
            return(PartialView("_Create", model));
        }
        public IActionResult GetPublishedAlbums()
        {
            var models = _albumAppService.GetPublishedAlbums()?
                         .OrderByDescending(s1 => s1.PublishmentTime)
                         .ThenByDescending(s2 => s2.CreationTime)
                         .Select((s, i) => new AlbumViewModel()
            {
                SId             = ++i,
                Id              = s.Id,
                SingerId        = s.SingerId,
                PublisherId     = s.PublisherId,
                Name            = s.Name,
                SingerName      = s.SingerName,
                PublisherName   = s.PublisherName,
                CreationTime    = s.CreationTime.ToStandardDateOfChina(),
                PublishmentTime = s.PublishmentTime?.ToStandardDateOfChina()
            });

            return(Json(models));
        }