From e783f8c6145b59a539688d973b43f58ed415c58d Mon Sep 17 00:00:00 2001 From: Luke Else Date: Fri, 18 Feb 2022 22:47:00 +0000 Subject: [PATCH] Added metar to route page --- Views/Charts/ViewCharts.cshtml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Views/Charts/ViewCharts.cshtml b/Views/Charts/ViewCharts.cshtml index 068dc32..84a2c83 100644 --- a/Views/Charts/ViewCharts.cshtml +++ b/Views/Charts/ViewCharts.cshtml @@ -1,4 +1,5 @@ @using Newtonsoft.Json; +@using EFB.Metar; @model EFB.Models.ViewChartModel; @{ ViewData["Title"] = "Welcome"; @@ -80,6 +81,10 @@ } + +
+

Current Weather

+ @await Metar.GetMETAR(@Model.Charts.ICAO); @@ -99,4 +104,6 @@ } + + \ No newline at end of file