Standard template I guess

This commit is contained in:
Lani Aung
2021-09-28 21:10:32 -06:00
commit 16599f7df3
24 changed files with 7662 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
using System.Diagnostics;
using fxl.codes.kisekae.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace fxl.codes.kisekae.Controllers
{
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
public HomeController(ILogger<HomeController> logger)
{
_logger = logger;
}
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 });
}
}
}