Esempio n. 1
0
        //[HttpPost, ActionName("Delete")]

        public ActionResult Delete(int id)
        {
            DBEmpleados dbEmpleados = new DBEmpleados();
            Empleados   emp         = new Empleados(dbEmpleados);

            emp.Delete(id);
            return(RedirectToAction("Index", "Empleado"));
        }