You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
392 B
20 lines
392 B
using System;
|
|
using TP_Blazor.Data;
|
|
|
|
namespace TP_Blazor.Pages
|
|
{
|
|
public partial class FetchData
|
|
{
|
|
public FetchData()
|
|
{
|
|
}
|
|
private WeatherForecast[]? forecasts;
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
forecasts = await ForecastService.GetForecastAsync(DateOnly.FromDateTime(DateTime.Now));
|
|
}
|
|
}
|
|
}
|
|
|