Ejemplo n.º 1
0
 public DataTable GetAllAutomovilDT()
 {
     try
     {
         AutomovilDA autoDA = new AutomovilDA();
         var         res    = autoDA.GetAllAutomovilDT();
         autoDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 2
0
 public IList GetAllAutomovilByEstatus(Boolean estado)
 {
     try
     {
         AutomovilDA autoDA = new AutomovilDA();
         var         res    = autoDA.GetAllAutomovilByEstatus(estado);
         autoDA = null;
         return(res);
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 3
0
 public Automovil GetAutomovilById(int autoID)
 {
     try
     {
         AutomovilDA autoDA = new AutomovilDA();
         var         res    = autoDA.GetAutomovilById(autoID);
         autoDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 4
0
 public List <ComboItem> GetCategorias()
 {
     try
     {
         AutomovilDA autoDA = new AutomovilDA();
         var         res    = autoDA.GetCategorias();
         autoDA = null;
         return(res);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }