public async Task <IActionResult> Edit(string id, [Bind("TrackId,Title,SongId,Release,ArtistId,ArtistMbid,ArtistName,Duration,ArtistFamiliarity,ArtistHotttnesss,Year")] Songs songs) { if (id != songs.TrackId) { return(NotFound()); } if (ModelState.IsValid) { try { _context.Update(songs); await _context.SaveChangesAsync(); } catch (DbUpdateConcurrencyException) { if (!SongsExists(songs.TrackId)) { return(NotFound()); } else { throw; } } return(RedirectToAction(nameof(Index))); } return(View(songs)); }