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