mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
21 lines
503 B
C#
21 lines
503 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Marechai.Pages.Computers
|
|
{
|
|
public partial class Index
|
|
{
|
|
int _computers;
|
|
bool _loaded;
|
|
int _maxYear;
|
|
int _minYear;
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
_computers = await Service.GetComputersCountAsync();
|
|
_minYear = await Service.GetMinimumYearAsync();
|
|
_maxYear = await Service.GetMaximumYearAsync();
|
|
|
|
_loaded = true;
|
|
}
|
|
}
|
|
} |