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