public ActionResult GetArtistInfo(string artist, bool ret = false) { ViewBag.artist = FunctionsMusic.GetArtistInfo(artist); ViewBag.toptracks = FunctionsMusic.GetTopTracks(artist); ViewBag.ret = ret; return(View()); }
public ActionResult GetSongInfo(string artist, string track, bool ret = false, string extra = "") { ViewBag.song = FunctionsMusic.GetTrackInfo(artist, track); ViewBag.lyrics = FunctionsMusic.GetLyric(artist, track); if (extra != "") { ViewBag.artist = extra; } else { ViewBag.artist = FunctionsMusic.GetArtistInfo(artist); } ViewBag.toptracks = FunctionsMusic.GetTopTracks(artist); ViewBag.ret = ret; return(View()); }
public ActionResult GetAlbums(string artist) { ViewBag.artist = FunctionsMusic.GetArtistInfo(artist); ViewBag.albums = FunctionsMusic.GetAlbums(artist); return(View()); }