@inherits ComponentBase

<TableContainer T="AgentEntity"
                @ref="Container"
                @bind-Search="Search"
                Title="@Title"
                Breadcrumbs="@Breadcrumbs"
                Data="LoadDataAsync">
    <Header>
        <MudTh>
                <MudTableSortLabel SortLabel="Serial" T="AgentEntity">
                    Serial
                </MudTableSortLabel>
            </MudTh>
            <MudTh>
                <MudTableSortLabel SortLabel="Hostname" T="AgentEntity">
                    Hostname
                </MudTableSortLabel>
            </MudTh>
    </Header>
    <RowTemplate>
        <MudTd DataLabel="Serial">
            <MudLink Href="@Navigation.Management.Agents.DetailsHref(context?.Id?.ToString())" Typo="Typo.inherit" Underline="Underline.None">
                @context?.Serial
            </MudLink>
        </MudTd>
        <MudTd DataLabel="Hostname">
            @context?.Hostname
        </MudTd>
    </RowTemplate>
    <ActionTemplate>
        <MudMenuItem OnClick="@(()=>OnAssignAsync(context))">
            Assign
        </MudMenuItem>
    </ActionTemplate>
</TableContainer>