mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Introduced HKW
This commit is contained in:
@@ -6,10 +6,6 @@ namespace HaWeb.Controllers;
|
||||
|
||||
[Route("Edition/[action]")]
|
||||
public class EditionController : Controller {
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
public IActionResult Error() {
|
||||
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
||||
}
|
||||
public IActionResult Kontakt() {
|
||||
return View("~/Views/HKB/Static/Kontakt.cshtml");
|
||||
}
|
||||
|
||||
32
HaWeb/Controllers/HKWController.cs
Normal file
32
HaWeb/Controllers/HKWController.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
namespace HaWeb.Controllers;
|
||||
using System.Diagnostics;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using HaWeb.Models;
|
||||
|
||||
[Route("HKW/")]
|
||||
public class HKWController : Controller {
|
||||
[Route("Start")]
|
||||
public IActionResult Index() {
|
||||
return View("~/Views/HKW/Static/Index.cshtml");
|
||||
}
|
||||
|
||||
[Route("Erschienen/FliegenderBrief")]
|
||||
public IActionResult FliegenderBrief() {
|
||||
return View("~/Views/HKW/Static/FliegenderBrief.cshtml");
|
||||
}
|
||||
|
||||
[Route("Geplant/Kreuzzuege")]
|
||||
public IActionResult Kreuzzuege() {
|
||||
return View("~/Views/HKW/Static/Kreuzzuege.cshtml");
|
||||
}
|
||||
|
||||
[Route("Erschienen/SokratischeDenkwuerdigkeiten")]
|
||||
public IActionResult SokratischeDenkwuerdigkeiten() {
|
||||
return View("~/Views/HKW/Static/SokratischeDenkwuerdigkeiten.cshtml");
|
||||
}
|
||||
|
||||
[Route("Uebersicht")]
|
||||
public IActionResult Uebersicht() {
|
||||
return View("~/Views/HKW/Static/Uebersicht.cshtml");
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ public class HomeController : Controller {
|
||||
|
||||
[Route("")]
|
||||
public IActionResult Index() {
|
||||
return Redirect("/Suche");
|
||||
return View("~/Views/Index.cshtml");
|
||||
}
|
||||
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
|
||||
Reference in New Issue
Block a user