public static List <Transporte_tipo> TransporteTipoGet() { List <Transporte_tipo> lst = new List <Transporte_tipo>(); try { Transporte_tipoMng oMng = new Transporte_tipoMng(); oMng.fillLst(); lst = oMng.Lst; } catch { throw; } return(lst); }
public static Transporte_tipo Transporte_tipo_getyById(int id) { Transporte_tipoMng oTTMng = new Transporte_tipoMng(); Transporte_tipo oTT = new Transporte_tipo(); oTT.Id = id; oTTMng.O_Transporte_tipo = oTT; try { oTTMng.selById(); } catch { throw; } return(oTT); }