示例#1
0
        public ActionResult Index()
        {
            var playlistModel = new PlaylistBrowserSource
            {
                Songs = playlistHelper.GetAllSongs()
            };

            return(View(playlistModel));
        }
        public ActionResult Index(string accessKey)
        {
            var browserSourceModel = new PlaylistBrowserSource
            {
                Songs = playlistHelper.GetTopSongs()
            };

            return(View(browserSourceModel));
        }