public ReprintSingleViewModel(IRegionManager regionManager, IDialogCoordinator dialogCoordinator, ISubmitDocumentList submitDocumentList, IConfigurationData configurationData, SessionData sessionData) { this.dialogCoordinator = dialogCoordinator; this.regionManager = regionManager; LogoutCommand = new DelegateCommand(ReturnToLogin); this.submitDocumentList = submitDocumentList; this.sessionData = sessionData; this.workflowIdLength = configurationData.WorkflowIdLength; DocumentIdLength = configurationData.WorkflowIdLength + configurationData.DocumentNumberLength; AddToListCommand = new DelegateCommand(AddToList, IsIdValid); RemoveFromListCommand = new DelegateCommand(RemoveFromList, IsIdSelected); SaveCommand = new DelegateCommand(SaveDataAsync, ListHasData).ObservesProperty(() => DocumentIDs.Count); }