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.cs48
1 files changed, 22 insertions, 26 deletions
diff --git a/ExamTemplate/Web/Controllers/HomeController.cs b/ExamTemplate/Web/Controllers/HomeController.cs
index 3c5b6ec..9f96a95 100644
--- a/ExamTemplate/Web/Controllers/HomeController.cs
+++ b/ExamTemplate/Web/Controllers/HomeController.cs
@@ -1,37 +1,33 @@
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Threading.Tasks;
+using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Web.Models;
namespace Web.Controllers
{
- public class HomeController : Controller
- {
- private readonly ILogger<HomeController> _logger;
+ public class HomeController : Controller
+ {
+ private readonly ILogger<HomeController> _logger;
- public HomeController(ILogger<HomeController> logger)
- {
- _logger = logger;
- }
+ public HomeController(ILogger<HomeController> logger)
+ {
+ _logger = logger;
+ }
- public IActionResult Index()
- {
- return View();
- }
+ public IActionResult Index()
+ {
+ return View();
+ }
- public IActionResult Privacy()
- {
- 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 });
- }
- }
+ [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
+ public IActionResult Error()
+ {
+ return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
+ }
+ }
}