@page "/editAdministrator/{Id:int}"

<h3>EditAdministrator</h3>

<EditForm Model="@administratorModel" OnValidSubmit="@HandleValidSubmit">
    <DataAnnotationsValidator />
    <ValidationSummary />

    <p>
        <label for="username">
            Username:
            <InputText id="username" @bind-Value="administratorModel.Username" />
        </label>
        <label for="hashedPassword">
            Password:
            <InputText id="hashedPassword" @bind-Value="administratorModel.HashedPassword" />
        </label>
    </p>

    <button type="submit">Submit</button>
</EditForm>
