Beispiel #1
0
 internal static MoleculeDto vidalToDto(ServiceMolecule.molecule wsMolecule)
 {
     MoleculeDto dto = new MoleculeDto();
     dto.AllergyAlert = wsMolecule.allergyAlert;
     dto.Homeopathy = wsMolecule.homeopathy;
     dto.Id = wsMolecule.id;
     dto.Name = wsMolecule.name;
     return dto;
 }
Beispiel #2
0
 internal static MoleculeDto vidalToDto(VidalAPI.Domain.Molecule nativeMolecule)
 {
     MoleculeDto dto = new MoleculeDto();
     dto.AllergyAlert = nativeMolecule.AllergyAlert;
     dto.Homeopathy = nativeMolecule.Homeopathy;
     dto.Id = nativeMolecule.Id;
     dto.Name = nativeMolecule.Name;
     return dto;
 }