예제 #1
0
        // GET: Performers/Details/5
        public async Task <IActionResult> Details(string?id)
        {
            if (id == null)
            {
                return(NotFound());
            }
            var performer = await _spotifyClientService.GetArtist(new Performer { SpotifyId = id });

            if (performer == null)
            {
                return(NotFound());
            }

            return(View(performer));
        }