Changed File Structure of Repository
This commit is contained in:
11
Models/ErrorViewModel.cs
Normal file
11
Models/ErrorViewModel.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace METAR_Web_App.Models
|
||||
{
|
||||
public class ErrorViewModel
|
||||
{
|
||||
public string RequestId { get; set; }
|
||||
|
||||
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
|
||||
}
|
||||
}
|
16
Models/WeatherInformation.cs
Normal file
16
Models/WeatherInformation.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using libmetar.Services;
|
||||
|
||||
namespace METAR_Web_App.Models
|
||||
{
|
||||
public class WeatherInformation
|
||||
{
|
||||
public List<string> METAR { get; set; } = new List<string>();
|
||||
public List<string> TAF { get; set; } = new List<string>();
|
||||
public string ICAO { get; set; }
|
||||
public bool ICAOError { get; set; } = false;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user