added vanilla web site

This commit is contained in:
Ryan Peters
2022-09-15 07:08:53 -04:00
parent 201eb8053a
commit 178c171e98
76 changed files with 74331 additions and 1 deletions

View File

@ -0,0 +1,32 @@
using BinaryDad.AacpsBusAlert.Web.Models;
using Microsoft.AspNetCore.Mvc;
using System.Diagnostics;
namespace BinaryDad.AacpsBusAlert.Web.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 });
}
}
}