示例#1
0
 private void updateCustSwipe(string custId)
 {
     foreach (Persistence.CustomerSwipe c in swipeList)
     {
         if (c.isDelete)
         {
             if (!c.isNew)
             {
                 get_service.DeleteCustSwipe(custId, c.swipeId);
             }
         }
         else
         {
             if (c.isNew)
             {
                 get_service.InsertCustSwipe(custId, c.swipeId);
             }
         }
     }
 }