@page "/exam/edit/{ExamId:Guid}" @using TechHelper.Client.Exam @code { [Parameter] public Guid ExamId { get; set; } [Inject] public IExamService ExamService { get; set; } protected override async Task OnInitializedAsync() { await ExamService.GetExam(Guid.NewGuid()); } }