Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }