internal static CNGDto vidalToDto(ServiceCNG.commonNameGroup wsCNG) { CNGDto dto = new CNGDto(); dto.Id = wsCNG.id; dto.MaxUcdRangePrice = wsCNG.maxUcdRangePrice; dto.MinUcdRangePrice = wsCNG.minUcdRangePrice; dto.Name = wsCNG.name; return dto; }
internal static CNGDto vidalToDto(VidalAPI.Domain.CommonNameGroup nativeCNG) { CNGDto dto = new CNGDto(); dto.Id = nativeCNG.Id; dto.MaxUcdRangePrice = nativeCNG.MaxUcdRangePrice; dto.MinUcdRangePrice = nativeCNG.MinUcdRangePrice; dto.Name = nativeCNG.Name; return dto; }