public NotificationOverviewViewModel(NotificationOverview overviewData)
 {
     NotificationType = overviewData.NotificationType;
     NotificationId = overviewData.NotificationId;
     NotificationNumber = overviewData.NotificationNumber;
     OrganisationsInvolvedViewModel = new OrganisationsInvolvedViewModel(overviewData.OrganisationsInvolved, overviewData.Progress);
     RecoveryOperationViewModel = new RecoveryOperationViewModel(overviewData.RecoveryOperation, overviewData.Progress);
     TransportationViewModel = new TransportationViewModel(overviewData.Transportation, overviewData.Progress);
     JourneyViewModel = new JourneyViewModel(overviewData.Journey, overviewData.Progress);
     ClassifyYourWasteViewModel = new ClassifyYourWasteViewModel(overviewData.WasteClassificationOverview, overviewData.Progress);
     WasteRecoveryViewModel = new WasteRecoveryViewModel(overviewData.NotificationId, overviewData.WasteRecovery, overviewData.WasteDisposal, overviewData.Progress);
     AmountsAndDatesViewModel = new AmountsAndDatesViewModel(overviewData.ShipmentOverview, overviewData.Progress);
     SubmitSideBarViewModel = new SubmitSideBarViewModel(overviewData.SubmitSummaryData, overviewData.NotificationCharge, overviewData.Progress);
     WasteCodeOverviewViewModel = new WasteCodeOverviewViewModel(overviewData.WasteCodesOverview, overviewData.Progress);
     NotificationCharge = overviewData.NotificationCharge;
     CanEditNotification = overviewData.CanEditNotification;
 }
Exemple #2
0
 public NotificationOverviewViewModel(NotificationOverview overviewData)
 {
     NotificationType               = overviewData.NotificationType;
     NotificationId                 = overviewData.NotificationId;
     NotificationNumber             = overviewData.NotificationNumber;
     OrganisationsInvolvedViewModel = new OrganisationsInvolvedViewModel(overviewData.OrganisationsInvolved, overviewData.Progress);
     RecoveryOperationViewModel     = new RecoveryOperationViewModel(overviewData.RecoveryOperation, overviewData.Progress);
     TransportationViewModel        = new TransportationViewModel(overviewData.Transportation, overviewData.Progress);
     JourneyViewModel               = new JourneyViewModel(overviewData.Journey, overviewData.Progress);
     ClassifyYourWasteViewModel     = new ClassifyYourWasteViewModel(overviewData.WasteClassificationOverview, overviewData.Progress);
     WasteRecoveryViewModel         = new WasteRecoveryViewModel(overviewData.NotificationId, overviewData.WasteRecovery, overviewData.WasteDisposal, overviewData.Progress);
     AmountsAndDatesViewModel       = new AmountsAndDatesViewModel(overviewData.ShipmentOverview, overviewData.Progress);
     SubmitSideBarViewModel         = new SubmitSideBarViewModel(overviewData.SubmitSummaryData, overviewData.NotificationCharge, overviewData.Progress);
     WasteCodeOverviewViewModel     = new WasteCodeOverviewViewModel(overviewData.WasteCodesOverview, overviewData.Progress);
     NotificationCharge             = overviewData.NotificationCharge;
     CanEditNotification            = overviewData.CanEditNotification;
 }