public ActionResult Delete(int id) { DBBeneficiario dbbeneficiario = new DBBeneficiario(); Beneficiario beneficiario = new Beneficiario(dbbeneficiario); beneficiario.Delete(id); return(RedirectToAction("Index", "Cliente")); }