public Measure MapFromDTO(MeasureDTO measureDTO) { ThingId = measureDTO.ThingId; Type = measureDTO.Type; Value = measureDTO.Value; return(this); }
public Measure(MeasureDTO measureDTO) { ThingId = measureDTO.ThingId; Type = measureDTO.Type; Value = measureDTO.Value; }