Example #1
0
 public static DataSet SelectByIdUsr(string idUsr)
 {
     try
     {
         return(DALVehiculo.SelectByIdUsr(idUsr));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #2
0
 public static DataSet SelectAll()
 {
     try
     {
         return(DALVehiculo.SelectAll());
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #3
0
 public static DataSet Select(decimal idVehiculo)
 {
     try
     {
         return(DALVehiculo.Select(idVehiculo));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #4
0
 public static void Delete(decimal idVehiculo)
 {
     try
     {
         DALVehiculo.Delete(idVehiculo);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #5
0
 public static void Update(decimal idVehiculo, string userId, string marca, string modelo, string patente)
 {
     try
     {
         DALVehiculo.Update(idVehiculo, userId, marca, modelo, patente);
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Example #6
0
 public static int Insert(string userId, string marca, string modelo, string patente)
 {
     try
     {
         return(DALVehiculo.Insert(userId, marca, modelo, patente));
     }
     catch (Exception)
     {
         throw;
     }
 }