summaryrefslogtreecommitdiff
path: root/src/marlin.web/Controllers/HomeController.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-03 23:06:05 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-03 23:06:05 +1000
commit7c33b3f334cf91918add7af08866f2ea37ed9c3f (patch)
tree8095a2d65e87a808fac62b47e315a4875cc86b73 /src/marlin.web/Controllers/HomeController.cs
chore: initial commit
Diffstat (limited to 'src/marlin.web/Controllers/HomeController.cs')
-rw-r--r--src/marlin.web/Controllers/HomeController.cs28
1 files changed, 28 insertions, 0 deletions
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