/// <summary> /// Add an Avenant to the contract /// </summary> /// <param name="newAvenant"></param> public void AddAvenant(Avenant newAvenant) { //if (newAvenant == null) // return; //if (!this.avenant.Contains(newAvenant)) // this.avenant.Add(newAvenant); }
/// <summary> /// Add an Avenant to the contract /// </summary> /// <param name="newAvenant"></param> public void addAvenant(Avenant newAvenant) { if (newAvenant == null) { return; } if (!this.avenant.Contains(newAvenant)) { this.avenant.Add(newAvenant); } }