Ejemplo n.º 1
0
        public IActionResult CreatePlaylist(string name, int amount)
        {
            var artistids = artistService.GetAllArtistIds();

            if (artistids != "")
            {
                return(RedirectToAction("Index", "Playlist", new { limit = amount, artistids = artistids, playlistname = name }));
            }
            return(RedirectToAction("Index", "Data"));
        }