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); } }
public void UndeleteId(string id) { IdsDeletedActive.Remove(id); IdsDeletedInactive.Remove(id); IdsActive.Add(id); }