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