Added metar to route page

This commit is contained in:
Luke Else 2022-02-18 22:47:00 +00:00
parent c418188481
commit e783f8c614

View File

@ -1,4 +1,5 @@
@using Newtonsoft.Json; @using Newtonsoft.Json;
@using EFB.Metar;
@model EFB.Models.ViewChartModel; @model EFB.Models.ViewChartModel;
@{ @{
ViewData["Title"] = "Welcome"; ViewData["Title"] = "Welcome";
@ -80,6 +81,10 @@
</div> </div>
</form> </form>
} }
<br />
<h4>Current Weather</h4>
@await Metar.GetMETAR(@Model.Charts.ICAO);
</div> </div>
</div> </div>
@ -99,4 +104,6 @@
} }
</div> </div>
</div> </div>
</div> </div>