Update 20241112

This commit is contained in:
Stefan Hutter
2024-11-12 14:22:55 +01:00
parent 23a308ad73
commit 09bcee5a2a
1162 changed files with 6775694 additions and 968 deletions

View File

@@ -11,6 +11,7 @@ using Database;
using Newtonsoft.Json;
using API_NetFramework.Models;
using System.Security.Cryptography;
using edoka_dms;
namespace API_NetFramework.Controllers
@@ -102,6 +103,11 @@ namespace API_NetFramework.Controllers
}
else
{
DocGet dg = new DocGet(connectionstring);
clsdok dok = new clsdok("", "", "");
dok = dg.GetDocAsPDF(dokid);
db.Exec_SQL("Update dokument set loeschgrund='Archiviert' where dokumentid='" + dokid + "'");
db = null;
return Ok("Archivierung ausgelöst");