Creaded Upload Interface; Also added Wrapper around HaDocument to reload the Document

This commit is contained in:
schnulller
2022-06-04 23:18:40 +02:00
parent 37b794ea05
commit 9712574e13
21 changed files with 1043 additions and 268 deletions

View File

@@ -3,13 +3,13 @@ using Microsoft.AspNetCore.Mvc;
using HaDocument.Interfaces;
using HaXMLReader.Interfaces;
using Microsoft.FeatureManagement.Mvc;
using HaWeb.FileHelpers;
public class AdminController : Controller {
// DI
private ILibrary _lib;
private IHaDocumentWrappper _lib;
private IReaderService _readerService;
public AdminController(ILibrary lib, IReaderService readerService) {
public AdminController(IHaDocumentWrappper lib, IReaderService readerService) {
_lib = lib;
_readerService = readerService;
}