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