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