public ActionResult Delete(int id) { DBReferenciaEmp dbReferenciaEmp = new DBReferenciaEmp(); ReferenciaEmp refemp = new ReferenciaEmp(dbReferenciaEmp); refemp.Delete(id); return(RedirectToAction("Index", "Empleado")); }