internal static UcdDto vidalToDto(VidalAPI.Domain.Ucd nativeUcd) { UcdDto dto = new UcdDto(); dto.Code = nativeUcd.Code; dto.Code13 = nativeUcd.Code13; dto.Ghs = nativeUcd.Ghs; dto.GhsPrice = nativeUcd.GhsPrice; dto.Id = nativeUcd.Id; dto.MaxUcdRangePrice = nativeUcd.MaxUcdRangePrice; dto.MinUcdRangePrice = nativeUcd.MinUcdRangePrice; dto.Name = nativeUcd.Name; dto.Retrocession = nativeUcd.Retrocession; dto.RetrocessionPrice = nativeUcd.RetrocessionPrice; dto.SafetyAlert = nativeUcd.SafetyAlert; return dto; }
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; }