Ejemplo n.º 1
0
 public static void Tipo_cargaUdt(Tipo_carga o)
 {
     try
     {
         Tipo_cargaMng oMng = new Tipo_cargaMng();
         oMng.O_Tipo_carga = o;
         oMng.udt();
     }
     catch
     {
         throw;
     }
 }
Ejemplo n.º 2
0
        public static List <Tipo_carga> Tipo_cargafillEvenInactive()
        {
            List <Tipo_carga> lst = new List <Tipo_carga>();

            try
            {
                Tipo_cargaMng oMng = new Tipo_cargaMng();
                oMng.fillEvenInactive();
                lst = oMng.Lst;
            }
            catch
            {
                throw;
            }
            return(lst);
        }
Ejemplo n.º 3
0
        public static Tipo_carga Tipo_cargaGet(int Id)
        {
            Tipo_carga o = new Tipo_carga();

            try
            {
                o.Id = Id;
                Tipo_cargaMng oMng = new Tipo_cargaMng();
                oMng.O_Tipo_carga = o;
                oMng.selById();
            }
            catch
            {
                throw;
            }
            return(o);
        }
Ejemplo n.º 4
0
 public static void Tipo_cargaChangeStatus(Tipo_carga o, bool status)
 {
     try
     {
         Tipo_cargaMng oMng = new Tipo_cargaMng();
         oMng.O_Tipo_carga = o;
         if (status)
         {
             oMng.dlt();
         }
         else
         {
             oMng.reactive();
         }
     }
     catch
     {
         throw;
     }
 }