public IActionResult SubmitForm(Artist artist)
 {
     if (ModelState.IsValid)
     {
         return(View(_artist.AddArtist(artist)));
     }
     else
     {
         return(View(artist));
     }
 }
        public async Task <ActionResult> Post([FromBody] Artist artist)
        {
            if (artist.ID <= 0)
            {
                await _artist.AddArtist(artist);
            }
            else
            {
                await Put(artist.ID, artist);
            }

            return(RedirectToAction("Get", new { id = artist.ID }));
        }