@page "/fetchdata"
@using OI.Metrology.ClientHub.Data
@using Microsoft.AspNetCore.Components.Web
@namespace OI.Metrology.ClientHub.Pages
This component demonstrates fetching data from a service.
@if (_WeatherForecasts is null) {Loading...
} else {Date | Temp. (C) | Temp. (F) | Summary |
---|---|---|---|
@weatherForecast.Date.ToShortDateString() | @weatherForecast.TemperatureC | @weatherForecast.TemperatureF | @weatherForecast.Summary |