private async Task CreateReportForDetailAsync(DetailInTreeView selectedNodeTag) { var rootDetailId = selectedNodeTag.DetailId; var rootHierarchyId = selectedNodeTag.HierarchyLevel; var detailsForReport = await _detailService.GetDetailsForReportAsync(rootDetailId, rootHierarchyId); CreateAndOpenWordDocument(detailsForReport); ShowMessageDialog("Success exported!"); }