Added HKW sites

This commit is contained in:
Simon Martens
2022-10-28 03:01:08 +02:00
parent 8c8ad677af
commit 2bd41b943a
41 changed files with 377 additions and 271 deletions

View File

@@ -7,8 +7,19 @@ namespace HaWeb.Controllers;
public class HomeController : Controller {
[Route("")]
[Route("Index")]
public IActionResult Index() {
return View("~/Views/Index.cshtml");
return View("~/Views/Home/Index.cshtml");
}
[Route("Kontakt")]
public IActionResult Kontakt() {
return View("~/Views/Home/Kontakt.cshtml");
}
[Route("Datenschutzerklaerung")]
public IActionResult Datenschutzerklaerung() {
return View("~/Views/Home/Datenschutzerklaerung.cshtml");
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]