public static void Tipo_cargaUdt(Tipo_carga o) { try { Tipo_cargaMng oMng = new Tipo_cargaMng(); oMng.O_Tipo_carga = o; oMng.udt(); } catch { throw; } }
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); }
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); }
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; } }