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