Files
mapo-core/MP.Prog/Pages/Setup.razor.cs
T
2021-09-13 15:40:49 +02:00

32 lines
688 B
C#

using Microsoft.AspNetCore.Components;
using MP.Prog.Data;
namespace MP.Prog.Pages
{
public partial class Setup
{
#region Private Properties
private bool isLoading { get; set; } = false;
#endregion Private Properties
#region Protected Properties
[Inject]
protected FileArchDataService DataService { get; set; }
#endregion Protected Properties
#region Protected Methods
protected async void ForceCheck(int maxHour)
{
isLoading = true;
await DataService.updateAllArchive(maxHour);
isLoading = false;
}
#endregion Protected Methods
}
}