public PercentageCollectionMethodViewDataForAngular(PercentageObservationTypeSchema percentageObservationTypeSchema)
            {
                PropertiesToObserve = new List <SelectItemSimple>();
                var count = 1;

                percentageObservationTypeSchema.PropertiesToObserve.ForEach(x =>
                {
                    PropertiesToObserve.Add(new SelectItemSimple(count, x));
                    count += 1;
                });
            }
 public ViewPercentageSchemaDetailViewData(PercentageObservationTypeSchema schema)
 {
     PercentageSchema             = schema;
     PropertiesToObserveFormatted = string.Join(", ", schema.PropertiesToObserve.OrderBy(x => x));
     MeasurementUnitType          = MeasurementUnitType.Percent;
 }