示例#1
0
        public ActionResult listAlbums(int?id)
        {
            var objController = new ArtistController();

            objController.InitializeController(this.Request.RequestContext);
            var artist = objController.Details2(id);

            var objController2 = new AlbumController();

            objController2.InitializeController(this.Request.RequestContext);
            var albums = objController2.listAlbums(id);


            var model = new HomeView {
                ArtistSingle = artist, Album = albums
            };

            return(PartialView(model));
        }