Beispiel #1
0
 public void AddAddress(string city,string street,string postalCode)
 {
     var address = new Address(city){ Street = street, PostalCode = postalCode};
     _addresses.Add(address);
 }
Beispiel #2
0
 public void RemoveAddress(Address address)
 {
     _addresses.Remove(address);
 }