1
0
This repository has been archived on 2026-04-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
my-old-website/MyWebsite.old/Controllers/HomeController.cs
T
Michael Gordeev 53e95afa2d Refactoring 1
2019-12-09 21:14:09 +03:00

26 lines
954 B
C#

using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using MyWebsite.Models;
namespace MyWebsite.Controllers
{
public class HomeController : Controller
{
// TODO: Add more specific OpenGraph meta tags
// TODO: Create custom error page
// TODO: Update Projects.json and Gallery.json (Add this site, BSI)
// TODO: Complete About page
// TODO: Localize application
// TODO: Make authorization system and ability to update website through GUI
// TODO: Consider a database connection
// TODO: Add more detailed parsing of artwork descriptions
public IActionResult Index() =>
View();
[HttpGet("Error")]
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error() =>
View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}