Финальная пятая базовая лабораторная

This commit is contained in:
Pyatkin I.A 2024-04-12 22:04:14 +04:00
parent ac948a3956
commit f661ba20d8
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ namespace PrecastConcretePlantBusinessLogic.OfficePackage.Implements
return; return;
} }
_spreadsheetDocument.WorkbookPart!.Workbook.Save(); _spreadsheetDocument.WorkbookPart!.Workbook.Save();
_spreadsheetDocument.Dispose(); _spreadsheetDocument.Close();
} }
} }

View File

@ -118,7 +118,7 @@ namespace PrecastConcretePlantBusinessLogic.OfficePackage.Implements
_wordDocument.MainDocumentPart!.Document.Save(); _wordDocument.MainDocumentPart!.Document.Save();
_wordDocument.Dispose(); _wordDocument.Close();
} }
} }
} }