mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Dixed Bug in the API Controller
This commit is contained in:
@@ -20,7 +20,7 @@ using Microsoft.AspNetCore.Http.Features;
|
|||||||
public class APIController : Controller {
|
public class APIController : Controller {
|
||||||
|
|
||||||
// DI
|
// DI
|
||||||
private ILibrary _lib;
|
private IHaDocumentWrappper _lib;
|
||||||
private IReaderService _readerService;
|
private IReaderService _readerService;
|
||||||
private readonly long _fileSizeLimit;
|
private readonly long _fileSizeLimit;
|
||||||
private readonly string _targetFilePath;
|
private readonly string _targetFilePath;
|
||||||
@@ -31,7 +31,7 @@ public class APIController : Controller {
|
|||||||
private static readonly FormOptions _defaultFormOptions = new FormOptions();
|
private static readonly FormOptions _defaultFormOptions = new FormOptions();
|
||||||
|
|
||||||
|
|
||||||
public APIController(ILibrary lib, IReaderService readerService, IXMLService xmlService, IConfiguration config) {
|
public APIController(IHaDocumentWrappper lib, IReaderService readerService, IXMLService xmlService, IConfiguration config) {
|
||||||
_lib = lib;
|
_lib = lib;
|
||||||
_readerService = readerService;
|
_readerService = readerService;
|
||||||
_xmlService = xmlService;
|
_xmlService = xmlService;
|
||||||
|
|||||||
@@ -10,9 +10,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="grow-0 shrink-0">
|
<div class="grow-0 shrink-0">
|
||||||
© 2022 Theodor Springmann Stiftung | Stand vom 27.5.2022 | <a href="/Edition/Kontakt">Kontakt</a> ·
|
© 2022 Theodor Springmann Stiftung | Stand vom 27.5.2022 | <a href="/Edition/Kontakt">Kontakt</a> ·
|
||||||
<a href="/Edition/Datenschutzerklaerung">Datenschutzerklärung</a>
|
<a href="/Edition/Datenschutzerklaerung">Datenschutzerklärung</a>
|
||||||
</div>
|
<feature name="AdminService">
|
||||||
|
<span> · <a asp-controller="Admin" asp-action="Index">Admin-Bereich</a></span>
|
||||||
|
</feature>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
@@ -4,3 +4,4 @@
|
|||||||
@using HaDocument.Models
|
@using HaDocument.Models
|
||||||
@using System.Text
|
@using System.Text
|
||||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||||
|
@addTagHelper *, Microsoft.FeatureManagement.AspNetCore
|
||||||
|
|||||||
Reference in New Issue
Block a user