Beispiel #1
0
 internal static UcdDto vidalToDto(ServiceUcd.ucd wsUcd)
 {
     UcdDto dto = new UcdDto();
     dto.Code = wsUcd.code;
     dto.Code13 = wsUcd.code13;
     dto.Ghs = wsUcd.ghs;
     dto.GhsPrice = wsUcd.ghsPrice;
     dto.Id = wsUcd.id;
     dto.MaxUcdRangePrice = wsUcd.maxUcdRangePrice;
     dto.MinUcdRangePrice = wsUcd.minUcdRangePrice;
     dto.Name = wsUcd.name;
     dto.Retrocession = wsUcd.retrocession;
     dto.RetrocessionPrice = wsUcd.retrocessionPrice;
     dto.SafetyAlert = wsUcd.safetyAlert;
     return dto;
 }
Beispiel #2
0
 internal static List<UcdDto> vidalToDtoList(ServiceUcd.ArrayOfUcd wsUcds)
 {
     List<UcdDto> Ucds = new List<UcdDto>();
     foreach (ServiceUcd.ucd Ucd in wsUcds)
     {
         Ucds.Add(vidalToDto(Ucd));
     }
     return Ucds;
 }