22 lines
415 B
C#
22 lines
415 B
C#
using System.Diagnostics;
|
|
using Events.MVC.Models;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Events.MVC.Controllers;
|
|
|
|
public class HomeController : Controller
|
|
{
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Error()
|
|
{
|
|
return View(new ErrorViewModel
|
|
{
|
|
RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier
|
|
});
|
|
}
|
|
}
|