Example #1
0
 public bool eliminarTipoGasto(int id, string schema)
 {
     try
     {
         return(TipoGastoDAO.getInstance().eliminarTipoGasto(id, schema));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Example #2
0
 public string nuevoTipoGasto(string nombre, string schema)
 {
     try
     {
         return(TipoGastoDAO.getInstance().nuevoTipoGasto(nombre, schema));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Example #3
0
 public bool updateTipoGasto(int id, string nombre, string schema)
 {
     try
     {
         return(TipoGastoDAO.getInstance().updateTipoGasto(id, nombre, schema));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Example #4
0
 public List <TipoGasto> listaTiposGastos(string schema)
 {
     try
     {
         return(TipoGastoDAO.getInstance().listaTiposGastos(schema));
     }
     catch (Exception e)
     {
         throw e;
     }
 }