28 lines
660 B
C#
28 lines
660 B
C#
|
using Microsoft.AspNetCore.Http;
|
|||
|
using Microsoft.AspNetCore.Mvc;
|
|||
|
using System.Diagnostics;
|
|||
|
using VeterinaryClinicWebApp.Models;
|
|||
|
|
|||
|
namespace VeterinaryClinicWebApp.Controllers
|
|||
|
{
|
|||
|
public class VisitController : Controller
|
|||
|
{
|
|||
|
private readonly ILogger<VisitController> _logger;
|
|||
|
public VisitController(ILogger<VisitController> 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 });
|
|||
|
}
|
|||
|
}
|
|||
|
}
|