public static void DeleteTcpip(int pId) { if (LTcpip.FetchByID(pId) != null) { LTcpip.Delete(pId); } }
public static void UpdateTcpip(LTcpip pitems) { try { if (LTcpip.FetchByID(pitems.Id) != null) { pitems.IsNew = false; pitems.Save(); } } catch (Exception ex) { throw ex; } }