mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
23 lines
586 B
C#
23 lines
586 B
C#
namespace HaWeb.Controllers;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using HaDocument.Interfaces;
|
|
using HaXMLReader.Interfaces;
|
|
using Microsoft.FeatureManagement.Mvc;
|
|
|
|
public class UpdateController : Controller {
|
|
// DI
|
|
private ILibrary _lib;
|
|
private IReaderService _readerService;
|
|
|
|
public UpdateController(ILibrary lib, IReaderService readerService) {
|
|
_lib = lib;
|
|
_readerService = readerService;
|
|
}
|
|
|
|
|
|
[Route("Admin/Update")]
|
|
[FeatureGate(Features.UpdateService)]
|
|
public IActionResult Index() {
|
|
return View("../Admin/Upload/Index");
|
|
}
|
|
} |