public static Address ToDomain(this DbAddress databaseEntity)
 {
     return(new Address
     {
         AddressLine1 = databaseEntity.AddressLine1,
         AddressLine2 = databaseEntity.AddressLine2,
         AddressLine3 = databaseEntity.AddressLine3,
         AddressLine4 = databaseEntity.AddressLine4,
         PostCode = databaseEntity.PostCode
     });
 }
        private static ClaimantInformation MapPersonAndAddressesToClaimantInformation(Person person, Address address)
        {
            var claimant = person.ToDomain();

            claimant.ClaimantAddress = address.ToDomain();
            return(claimant);
        }