public IActionResult GetArtists(int id) { try { var artist = _service.GetArtist(id); return(Ok(artist)); } catch (ArtistDoesNotExistsException exception) { return(NotFound(exception.Message)); } }