Added MongoDB Methods and introduced flight sim controller

This commit is contained in:
2022-02-18 18:49:56 +00:00
parent eda71069a4
commit 10af903706
5 changed files with 51 additions and 5 deletions

18
Models/FlightsimModel.cs Normal file
View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EFB.Models
{
public class FlightsimModel
{
public SimPositionModel CurrentPosition { get; set; }
public RouteModel Route { get; set; }
public FlightsimModel(SimPositionModel position, RouteModel route)
{
CurrentPosition = position;
Route = route;
}
}
}

View File

@ -24,8 +24,7 @@ namespace EFB.Models
public string Departure { get; set; }
public string Route { get; set; }
public string Arrival { get; set; }
public RouteModel RouteObject { get; set; }
public TokenModel RouteToken { get; set; } = null;