public static void UbicacionUdt(Ubicacion o) { try { UbicacionMng oMng = new UbicacionMng(); oMng.O_Ubicacion = o; oMng.udt(); } catch { throw; } }
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); }
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); }
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; } }