public ActionResult DeleteConfirmed(GenreEntity genre) { _service.DeleteGenre(genre); return RedirectToAction("Index"); }
public void UpdateGenre(GenreEntity genre) { _genreRepository.Update(genre.ToDalGenre()); _uow.Commit(); }
public ActionResult DeleteConfirmed(GenreEntity genre) { _service.DeleteGenre(genre); return RedirectToAction("Index"); }
public void UpdateGenre(GenreEntity genre) { _genreRepository.Update(genre.ToDalGenre()); _uow.Commit(); }