public bool IdUnique(string id) { return (!IdsActive.Contains(id) && !IdsInactive.Contains(id) && !IdsDeletedActive.Contains(id) && !IdsDeletedInactive.Contains(id)); }
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 bool IdDeleted(string id) { return (IdsDeletedActive.Contains(id) || IdsDeletedInactive.Contains(id)); }