Exemple #1
0
 public static DataSet SelectByIdUsr(string idUsr)
 {
     try
     {
         return(DALVehiculo.SelectByIdUsr(idUsr));
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #2
0
 public static DataSet SelectAll()
 {
     try
     {
         return(DALVehiculo.SelectAll());
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #3
0
 public static DataSet Select(decimal idVehiculo)
 {
     try
     {
         return(DALVehiculo.Select(idVehiculo));
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #4
0
 public static void Delete(decimal idVehiculo)
 {
     try
     {
         DALVehiculo.Delete(idVehiculo);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #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;
     }
 }
Exemple #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;
     }
 }