@using Newtonsoft.Json; @using EFB.Metar; @model EFB.Models.ViewChartModel; @{ ViewData["Title"] = "Welcome"; }
@{ if (TempData["Error"] != null) {//If an error has been flagged, information will be displayed to the user

Warning! @TempData["Error"]
} }
@{

Charts for: @Model.Charts.ICAO


}

Current Weather

@await Metar.GetMETAR(@Model.Charts.ICAO);
@{ if (Model.Selected != null) {

@Model.Selected.Name



} }