Подготовил направления

This commit is contained in:
2023-07-30 01:50:58 +03:00
parent 68f837b104
commit ad6e10250b
8 changed files with 974 additions and 18 deletions

View File

@@ -0,0 +1,15 @@
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using PaydayFrontend.Models;
namespace PaydayFrontend.Controllers;
public class AdminController : Controller
{
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
}