public ActionResult confirmarDelete(int?id) { if (id == null) { return(RedirectToAction("Index")); } int nr = (int)id; bd.removerCliente(nr); return(RedirectToAction("Index")); }
public ActionResult ConfirmarDelete(int?id) { bd.removerCliente((int)id); return(RedirectToAction("index")); }