/// <summary> /// Remove an existing Invertory from the collection /// </summary> /// <pdGenerated>Default Remove</pdGenerated> public void RemoveInvertory(Invertory oldInvertory) { if (oldInvertory == null) { return; } if (this.invertory != null) { if (this.invertory.Contains(oldInvertory)) { this.invertory.Remove(oldInvertory); } } }
/// <summary> /// Add a new Invertory in the collection /// </summary> /// <pdGenerated>Default Add</pdGenerated> public void AddInvertory(Invertory newInvertory) { if (newInvertory == null) { return; } if (this.invertory == null) { this.invertory = new List <Invertory>(); } if (!this.invertory.Contains(newInvertory)) { this.invertory.Add(newInvertory); } }