Exemplo n.º 1
0
 public AddressType ToAddressType()
 {
     return(new AddressType()
     {
         Id = Id,
         Type = Type,
         Address = Address.ToAddress(),
         AddressId = Address.Id,
         Person = Person.ToPerson(),
         PersonId = Person.Id
     });
 }
Exemplo n.º 2
0
 public PhoneNumber ToPhoneNumber()
 {
     return(new PhoneNumber()
     {
         Id = Id,
         Number = Number,
         PhoneType = PhoneType,
         Provider = Provider,
         Person = Person.ToPerson(),
         PersonId = Person.Id
     });
 }