@inherits ComponentBase

<BaseContainer Title="@_title" Breadcrumbs="@_breadcrumbs" LoadData="LoadDataAsync">
    <Content>
        <MudGrid>
            <MudItem xs="12" sm="6" md="3" lg="3">
                <KeyValueCard T="long" Href="@Navigation.Management.Accounts.Index" Key="Accounts" Value="@_accounts" Icon="@Icons.Material.Filled.SupervisorAccount" IconColor="Color.Primary" />
            </MudItem>
            <MudItem xs="12" sm="6" md="3" lg="3">
                <KeyValueCard T="long" Href="@Navigation.Management.Customers.Index" Key="Customers" Value="@_customers" Icon="@Icons.Material.Outlined.Business" IconColor="Color.Primary" />
            </MudItem>
            <MudItem xs="12" sm="6" md="3" lg="3">
                <KeyValueCard T="long" Href="@Navigation.Management.Hosts.Index" Key="Hosts" Value="@_hosts" Icon="@Icons.Material.Outlined.Devices" IconColor="Color.Primary" />
            </MudItem>
            <MudItem xs="12" sm="6" md="3" lg="3">
                <KeyValueCard T="long" Href="@Navigation.Management.Agents.Index" Key="Agents" Value="@_agents" Icon="@Icons.Material.Outlined.SignalCellularAlt" IconColor="Color.Primary" />
            </MudItem>
        </MudGrid>
    </Content>
</BaseContainer>

@code{
    public long _accounts;
    public long _customers;
    public long _hosts;
    public long _agents;
}