public ActionResult Delete(int id) { DBLote dblote = new DBLote(); Lote lote = new Lote(dblote); lote.Delete(id); return(RedirectToAction("Index", "Lote")); }
public ActionResult Delete(int id) { DBLote dblote = new DBLote(); Lote lote = new Lote(dblote); lote.Delete(id); return(RedirectToAction("Index", "Lote")); }