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