Esempio n. 1
0
 public static void UbicacionUdt(Ubicacion o)
 {
     try
     {
         UbicacionMng oMng = new UbicacionMng();
         oMng.O_Ubicacion = o;
         oMng.udt();
     }
     catch
     {
         throw;
     }
 }
Esempio n. 2
0
        public static List <Ubicacion> UbicacionfillEvenInactive()
        {
            List <Ubicacion> lst = new List <Ubicacion>();

            try
            {
                UbicacionMng oMng = new UbicacionMng();
                oMng.fillEvenInactive();
                lst = oMng.Lst;
            }
            catch
            {
                throw;
            }
            return(lst);
        }
Esempio n. 3
0
        public static Ubicacion UbicacionGet(int Id)
        {
            Ubicacion o = new Ubicacion();

            try
            {
                o.Id = Id;
                UbicacionMng oMng = new UbicacionMng();
                oMng.O_Ubicacion = o;
                oMng.selById();
            }
            catch
            {
                throw;
            }
            return(o);
        }
Esempio n. 4
0
 public static void UbicacionChangeStatus(Ubicacion o, bool status)
 {
     try
     {
         UbicacionMng oMng = new UbicacionMng();
         oMng.O_Ubicacion = o;
         if (status)
         {
             oMng.dlt();
         }
         else
         {
             oMng.reactive();
         }
     }
     catch
     {
         throw;
     }
 }