mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 09:45:32 +00:00
Formatted everything; completed upload capabilities
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user