Example #1
0
 public Address ToAddress()
 {
     return(new Address()
     {
         AddressType = AddressType, City = CityDTO.ToCity()
     });
 }
Example #2
0
 public AddressDTO(Address address)
 {
     AddressType = address.AddressType;
     HouseNumber = address.HouseNumber;
     StreetName  = address.StreetName;
     CityDTO     = new CityDTO();
 }