public async Task <IActionResult> Put(int id, [FromBody] Song song) { Song ss = await _song.GetByID(id); if (song != null) { await _song.UpdateSong(id, song); } else { Post(song); } return(RedirectToAction("Get", new { id = song.ID })); }