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