예제 #1
0
 public void DeactivateId(string id)
 {
     if (IdsActive.Contains(id))
     {
         IdsActive.Remove(id);
         IdsInactive.Add(id);
     }
     else if (IdsDeletedActive.Contains(id))
     {
         IdsDeletedActive.Remove(id);
         IdsDeletedInactive.Add(id);
     }
 }
예제 #2
0
 public void UndeleteId(string id)
 {
     IdsDeletedActive.Remove(id);
     IdsDeletedInactive.Remove(id);
     IdsActive.Add(id);
 }