public ActionResult DeleteConfirmed(SongEntity song) { _songService.DeleteSong(song); return RedirectToAction("Index"); }
public void UpdateSong(SongEntity song) { _songRepository.Update(song.ToDalSong()); _uow.Commit(); }
public ActionResult DeleteConfirmed(SongEntity song) { _songService.DeleteSong(song); return RedirectToAction("Index"); }
public void UpdateSong(SongEntity song) { _songRepository.Update(song.ToDalSong()); _uow.Commit(); }