@inherits ComponentBase

<TableContainer T="ViewModel"
                @ref="Container"
                @bind-Search="Search"
                Title="@Title"
                Breadcrumbs="@Breadcrumbs"
                Data="LoadDataAsync">
    <Header>
        <MudTh>
            <MudTableSortLabel SortLabel="Customer" T="ViewModel">
                Customer
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="Host" T="ViewModel">
                Host
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="VirtualMaschine" T="ViewModel">
                Virtual Maschine
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="Name" T="ViewModel">
                Name
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="Notes" T="ViewModel">
                Notes
            </MudTableSortLabel>
        </MudTh>
        <MudTh>
            <MudTableSortLabel SortLabel="CreationTime" T="ViewModel">
                Created
            </MudTableSortLabel>
        </MudTh>
    </Header>
    <RowTemplate>
        <MudTd DataLabel="Customer">
            <MudLink Href="@Navigation.Management.Customers.DetailsHref(context?.Customer?.Id)" Typo="Typo.inherit" Underline="Underline.None">
                @context?.Customer?.Name
            </MudLink>
        </MudTd>
        <MudTd DataLabel="Host">
            <MudLink Href="@Navigation.Management.Hosts.DetailsHref(context?.Host?.Id)" Typo="Typo.inherit" Underline="Underline.None">
                @context?.Host?.Name
            </MudLink>
        </MudTd>
        <MudTd DataLabel="VirtualMaschine">
            <MudLink Href="@Navigation.Management.Hosts.Systems.VirtualMaschines.DetailsHref(context?.Host?.Id, context?.VirtualMaschine?.Id)" Typo="Typo.inherit" Underline="Underline.None">
                @context?.VirtualMaschine?.Name
            </MudLink>
        </MudTd>
        <MudTd DataLabel="Name">
            <MudText Typo="Typo.inherit">
                @context?.Name
            </MudText>
        </MudTd>
        <MudTd DataLabel="Notes">
            <MudText Typo="Typo.inherit">
                @context?.Notes
            </MudText>
        </MudTd>
        <MudTd DataLabel="CreationTime">
            <MudText Typo="Typo.inherit">
                @context?.CreationTime?.ToLocalTime().ToString("dd.MM.yyyy HH:mm:ss")
            </MudText>
        </MudTd>
    </RowTemplate>
</TableContainer>