public IActionResult AddNewArtist(Artist artistToAdd) { _repo.AddArtist(artistToAdd); return(Created($"/api/artist/{ artistToAdd.ArtistId }", artistToAdd)); }
public ActionResult AddArtist(Artist artist) { _artistRepository.AddArtist(artist); return(Ok()); }