FInalized Menu. Added first static Page...

This commit is contained in:
schnulller
2022-05-16 00:46:08 +02:00
parent c0ff6cea2d
commit d3d3d39bd0
18 changed files with 421 additions and 103 deletions

View File

@@ -0,0 +1,21 @@
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using HaWeb.Models;
namespace HaWeb.Controllers;
public class HomeController : Controller
{
[Route("")]
public IActionResult Index()
{
return Redirect("/Suche");
}
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}