Ejemplo n.º 1
0
 public ActionResult DeleteConfirmed(int id)
 {
     ////Pelicula pelicula = db.Peliculas.Find(id);
     //db.Peliculas.Remove(pelicula);
     //db.SaveChanges();
     PeliculaBLL.Delete(id);
     return(RedirectToAction("Index"));
 }
 public ActionResult DeleteConfirmed(int id)
 {
     PeliculaBLL.Delete(id);
     return(RedirectToAction("Index"));
 }