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