exam_service

This commit is contained in:
SpecialX
2025-06-11 15:02:20 +08:00
parent 97843ab5fd
commit e26881ec2f
52 changed files with 3510 additions and 1174 deletions

View File

@@ -0,0 +1,37 @@
@using Entities.DTO
<MudPaper Width="@Width" Height="@Height" @onclick="ExamClick">
<MudCard>
<MudCardHeader>
<MudText> @examDto.AssignmentTitle </MudText>
</MudCardHeader>
<MudCardContent>
<MudText> @examDto.Description </MudText>
</MudCardContent>
</MudCard>
</MudPaper>
@code {
[Inject]
public NavigationManager navigationManager { get; set; }
[Parameter]
public ExamDto examDto { get; set; }
[Parameter]
public string? Width { get; set; } = "200";
[Parameter]
public string? Height { get; set; } = "400";
private void ExamClick()
{
navigationManager.NavigateTo($"exam/Edit/{examDto.AssignmentId}");
}
}