public static void NomUdt(Nom o) { try { NomMng oMng = new NomMng(); oMng.O_Nom = o; oMng.udt(); } catch { throw; } }
public static void NomAdd(Nom o) { try { NomMng oMng = new NomMng(); oMng.O_Nom = o; oMng.add(); } catch { throw; } }
public static List <Nom> NomfillEvenInactive() { List <Nom> lst = new List <Nom>(); try { NomMng oMng = new NomMng(); oMng.fillEvenInactive(); lst = oMng.Lst; } catch { throw; } return(lst); }
public static Nom NomGet(int Id) { Nom o = new Nom(); try { o.Id = Id; NomMng oMng = new NomMng(); oMng.O_Nom = o; oMng.selById(); } catch { throw; } return(o); }
public static void NomChangeStatus(Nom o, bool status) { try { NomMng oMng = new NomMng(); oMng.O_Nom = o; if (status) { oMng.dlt(); } else { oMng.reactive(); } } catch { throw; } }