update 20260522
This commit is contained in:
@@ -36,6 +36,7 @@ using System.Runtime.Serialization.Json;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
using System.Web.Helpers;
|
||||
using System.Web.Http;
|
||||
@@ -214,7 +215,7 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
[HttpPost]
|
||||
[Route("API/DokumentGenerator")]
|
||||
public IHttpActionResult DokumentGenerator()
|
||||
public async Task<IHttpActionResult> DokumentGenerator()
|
||||
{
|
||||
|
||||
APIErrorSimple apireturn = new APIErrorSimple();
|
||||
@@ -286,7 +287,7 @@ namespace API_NetFramework.Controllers
|
||||
string type = dataj.Dokumente.ToString();
|
||||
if (!String.IsNullOrEmpty(type))
|
||||
{
|
||||
return CreateDoks();
|
||||
return await CreateDoks();
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
@@ -295,12 +296,12 @@ namespace API_NetFramework.Controllers
|
||||
string type = dataj.TGNrErsteller.ToString();
|
||||
if (!String.IsNullOrEmpty(type))
|
||||
{
|
||||
return CreateDok();
|
||||
return await CreateDok();
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
|
||||
return CreateCLM();
|
||||
return await CreateCLM();
|
||||
|
||||
}
|
||||
catch
|
||||
@@ -338,7 +339,7 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
[HttpPost]
|
||||
[Route("API/CreateDoks")]
|
||||
public IHttpActionResult CreateDoks()
|
||||
public async Task<IHttpActionResult> CreateDoks()
|
||||
{
|
||||
|
||||
APIErrorSimple apireturn = new APIErrorSimple();
|
||||
@@ -749,7 +750,7 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
[HttpPost]
|
||||
[Route("API/CreateDok")]
|
||||
public IHttpActionResult CreateDok()
|
||||
public async Task<IHttpActionResult> CreateDok()
|
||||
{
|
||||
//eINZELDOKUMENT
|
||||
APIErrorSimple apireturn = new APIErrorSimple();
|
||||
@@ -1264,7 +1265,7 @@ namespace API_NetFramework.Controllers
|
||||
|
||||
[HttpPost]
|
||||
[Route("API/CreateCLM")]
|
||||
public IHttpActionResult CreateCLM()
|
||||
public async Task<IHttpActionResult> CreateCLM()
|
||||
{
|
||||
APIErrorSimple apireturn = new APIErrorSimple();
|
||||
APIOK apiok = new APIOK();
|
||||
|
||||
Reference in New Issue
Block a user