mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
More Menu, Added Basic Routing
This commit is contained in:
40
HaWeb/Controllers/EditionController.cs
Normal file
40
HaWeb/Controllers/EditionController.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System.Diagnostics;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using HaWeb.Models;
|
||||
|
||||
namespace HaWeb.Controllers;
|
||||
|
||||
[Route("Edition/[action]")]
|
||||
[Route("Edition/[action]/Index")]
|
||||
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();
|
||||
}
|
||||
|
||||
public IActionResult Mitwirkende()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Richtlinien()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Werkausgabe()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
public IActionResult Editionsgeschichte()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user