28 lines
670 B
C#
28 lines
670 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Diagnostics;
|
|
using VeterinaryClinicWebApp.Models;
|
|
|
|
namespace VeterinaryClinicWebApp.Controllers
|
|
{
|
|
public class ServiceController : Controller
|
|
{
|
|
private readonly ILogger<ServiceController> _logger;
|
|
public ServiceController(ILogger<ServiceController> logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
public IActionResult Services()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
|
public IActionResult Error()
|
|
{
|
|
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
|
|
}
|
|
}
|
|
}
|