private void getComment() { CommentDialogViewModel comment = new CommentDialogViewModel(_selectedStep, false); bool?result = _dialogService.ShowDialog(comment); if (result == true) { _selectedStep.Comment = comment.Comment; } }
private void getFailComment() { CommentDialogViewModel comment = new CommentDialogViewModel(_selectedStep, true); bool?result = _dialogService.ShowDialog(comment); if (result == true) { _selectedStep.Severity = comment.Severity; _selectedStep.ResultComment = comment.Comment; _selectedStep.Result = false; selectNextStep(); } }