public void ActivateId(string id) { if (IdsInactive.Contains(id)) { IdsInactive.Remove(id); IdsActive.Add(id); } else if (IdsDeletedInactive.Contains(id)) { IdsDeletedInactive.Remove(id); IdsDeletedActive.Add(id); } }
public void DeleteId(string id) { IdsActive.Remove(id); IdsInactive.Remove(id); IdsDeletedInactive.Add(id); }