public void Format(BLAiringLongModel.Destination.Destination viewModel) { foreach (var deliverable in viewModel.Deliverables) { deliverable.Value = Format(deliverable.Value); } }
public void Format(BLAiringLongModel.Destination.Destination viewModel) { foreach (var property in viewModel.Properties) { if (property.Value != null) // after combinig property and category. Property.value is null for categories { property.Value = Format(property.Value); } } }