예제 #1
0
 private static PostalAddress ToPrescriberPostalAddress(CreatePharmaceuticalPrescription command)
 {
     return(PostalAddress.CreateIfNotEmpty
            (
                command.PrescriberStreet,
                command.PrescriberCity,
                command.PrescriberPostalCode,
                Alpha2CountryCode.CreateIfNotEmpty(command.PrescriberCountryCode),
                command.PrescriberHouseNumber,
                command.PrescriberBoxNumber
            ));
 }