public DataProfileDto PrepareDataProfileDto(DataProfileResult dataProfile) { var dataProfileDto = dataProfile.ToDto(); dataProfileDto.DataColumns = dataProfile.Arr_DataValue.Select(PrepareDataColumnDto).ToList(); return(dataProfileDto); }
public static DataProfileDto ToDto(this DataProfileResult dataProfile) { return(dataProfile.MapTo <DataProfileResult, DataProfileDto>()); }