Update 20241112
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user