public ActionResult Edit([Bind(Include = "SongId,name,type,path,artist")] Song Song) { if (ModelState.IsValid) { db.Entry(Song).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(Song)); }