Formatted everything; completed upload capabilities

This commit is contained in:
schnulller
2022-06-04 02:42:01 +02:00
parent 743c88a4e5
commit 37b794ea05
61 changed files with 677 additions and 558 deletions

View File

@@ -4,14 +4,12 @@ using HaDocument.Interfaces;
using HaXMLReader.Interfaces;
using Microsoft.FeatureManagement.Mvc;
public class UpdateController : Controller
{
public class UpdateController : Controller {
// DI
private ILibrary _lib;
private IReaderService _readerService;
public UpdateController(ILibrary lib, IReaderService readerService)
{
public UpdateController(ILibrary lib, IReaderService readerService) {
_lib = lib;
_readerService = readerService;
}
@@ -19,8 +17,7 @@ public class UpdateController : Controller
[Route("Admin/Update")]
[FeatureGate(Features.UpdateService)]
public IActionResult Index()
{
public IActionResult Index() {
return View("../Admin/Upload/Index");
}
}