Пример #1
0
 internal static int ocuparEspacio()
 {
     try
     {
         return(EspacioParqueoDAL.ocuparEspacio());//retorna -1 si no logro actualizar
     }
     catch (Exception err)
     {
         System.ArgumentException argEx = new System.ArgumentException("0x000033", err);
         throw argEx;
     }
 }
Пример #2
0
 internal static int desocuparEspacio()
 {
     try
     {
         return(EspacioParqueoDAL.desocuparEspacio());
     }
     catch (Exception err)
     {
         System.ArgumentException argEx = new System.ArgumentException("0x000033", err);
         throw argEx;
     }
 }
Пример #3
0
 internal static int seleccionarEspaciosDisponibles()
 {
     return(EspacioParqueoDAL.seleccionarEspaciosDisponibles());
 }