public void Update(PRDT1Entity pRDT1Entity, int value) { if (value == 0) { service.TOOLUpdate(pRDT1Entity); } else { service.G_WSUpdate(pRDT1Entity); } }
public void Insert(PRDT1Entity pRDT1Entity, int value) { try { if (value == 0) { service.TOOLInsert(pRDT1Entity); } else { service.G_WSInsert(pRDT1Entity); } } catch (Exception ex) { throw; } }