Added SimPositionModel from flight tracker + setup mongo files
This commit is contained in:
32
Controllers/FlightsimController.cs
Normal file
32
Controllers/FlightsimController.cs
Normal file
@ -0,0 +1,32 @@
|
||||
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 FlightsimController : Controller
|
||||
{
|
||||
private readonly ILogger<FlightsimController> _logger;
|
||||
|
||||
public FlightsimController(ILogger<FlightsimController> logger)
|
||||
{
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
public IActionResult Error()
|
||||
{
|
||||
return View("Error!");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user