12345678910111213141516171819 |
- using Microsoft.AspNetCore.Mvc;
- using System.Diagnostics;
- using WebApplicationSample.Models;
- namespace WebApplicationSample.Controllers
- {
- public class HomeController : Controller
- {
- public IActionResult Index()
- {
- return View();
- }
- public IActionResult Error()
- {
- return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
- }
- }
- }
|