This commit is contained in:
goblinrf 2024-05-14 14:52:14 +04:00
parent b5bbb21858
commit fdd1193799
5 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@
<ItemGroup>
<PackageReference Include="DocumentFormat.OpenXml" Version="2.19.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="NPOI" Version="2.6.2" />
<PackageReference Include="PdfSharp.MigraDoc.Standard" Version="1.51.15" />
</ItemGroup>

View File

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

View File

@ -116,7 +116,7 @@ namespace DinerBusinessLogic.Implements
_wordDocument.MainDocumentPart!.Document.Save();
_wordDocument.Close();
_wordDocument.Dispose();
}
private Table? _lastTable;

View File

@ -12,7 +12,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DinerDatabaseImplement.Migrations
{
[DbContext(typeof(DinerDatabase))]
[Migration("20240512174855_InitialCreate")]
[Migration("20240514100733_InitialCreate")]
partial class InitialCreate
{
/// <inheritdoc />