diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-09-03 23:06:05 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2026-09-03 23:06:05 +1000 |
| commit | 7c33b3f334cf91918add7af08866f2ea37ed9c3f (patch) | |
| tree | 8095a2d65e87a808fac62b47e315a4875cc86b73 /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.cs | 28 |
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 |
