using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System.Diagnostics; using VeterinaryClinicWebApp.Models; namespace VeterinaryClinicWebApp.Controllers { public class VisitController : Controller { private readonly ILogger _logger; public VisitController(ILogger logger) { _logger = logger; } public IActionResult Visits() { return View(); } [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] public IActionResult Error() { return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); } } }