Example #1
0
 public IActionResult EliminarIngreso(long IdIngreso)
 {
     _oIngresoDAL.Eliminar(IdIngreso);
     return(new NoContentResult());
     //var Busqueda = _oIngresoDAL.Recuperar_Ingreso(IdIngreso);
     //if (Busqueda == null)
     //    return NotFound();
     //else
     //    _oIngresoDAL.Eliminar(IdIngreso);
     //return new NoContentResult();
 }
Example #2
0
 public static int Eliminar(int pIdIngreso)
 {
     return(IngresoDAL.Eliminar(pIdIngreso));
 }