33 lines
763 B
C#
33 lines
763 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace EFB.Controllers
|
|
{
|
|
//[Route("[controller]")]
|
|
public class NavdataController : Controller
|
|
{
|
|
private readonly ILogger<NavdataController> _logger;
|
|
|
|
public NavdataController(ILogger<NavdataController> logger)
|
|
{
|
|
_logger = logger;
|
|
}
|
|
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
|
public IActionResult Error()
|
|
{
|
|
return View("Error!");
|
|
}
|
|
|
|
}
|
|
} |