From 7c33b3f334cf91918add7af08866f2ea37ed9c3f Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Thu, 3 Sep 2026 23:06:05 +1000 Subject: chore: initial commit --- src/marlin.web/Controllers/HomeController.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/marlin.web/Controllers/HomeController.cs (limited to 'src/marlin.web/Controllers/HomeController.cs') diff --git a/src/marlin.web/Controllers/HomeController.cs b/src/marlin.web/Controllers/HomeController.cs new file mode 100644 index 0000000..243f66d --- /dev/null +++ b/src/marlin.web/Controllers/HomeController.cs @@ -0,0 +1,28 @@ +using System.Diagnostics; +using Microsoft.AspNetCore.Mvc; +using marlin.web.Models; + +namespace marlin.web.Controllers; + +public class HomeController : Controller +{ + public IActionResult Index() + { + return View(); + } + + public IActionResult Privacy() + { + return View(); + } + + [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] + public IActionResult Error() + { + return View( + new ErrorViewModel + { + RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier + }); + } +} \ No newline at end of file -- cgit v1.3.1