Exemplo n.º 1
0
        public ActionResult <bool> AddSongToPlaylist([FromBody] SongInPlaylist songInPlaylist)
        {
            var result = _songService.AddSongToPlaylist(songInPlaylist);

            if (result == false)
            {
                return(BadRequest());
            }
            return(true);
        }