aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Controllers/HomeController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ExamTemplate/Web/Controllers/HomeController.cs')
-rw-r--r--ExamTemplate/Web/Controllers/HomeController.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/ExamTemplate/Web/Controllers/HomeController.cs b/ExamTemplate/Web/Controllers/HomeController.cs
deleted file mode 100644
index d9cfc45..0000000
--- a/ExamTemplate/Web/Controllers/HomeController.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System.Diagnostics;
-using ExamTemplate.Web.Models;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Logging;
-
-namespace ExamTemplate.Web.Controllers
-{
- public class HomeController : Controller
- {
- private readonly ILogger<HomeController> _logger;
-
- public HomeController(ILogger<HomeController> logger)
- {
- _logger = logger;
- }
-
- public IActionResult Index()
- {
- return View();
- }
-
- [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
- public IActionResult Error()
- {
- return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
- }
-
- public IActionResult ErrorNotFound()
- {
- return View();
- }
- }
-}