@inherits LoadedComponent @page "/laboratorio/revisione/{Id:guid}" @inject AnubisHost Host @inject ShellData Shell @using Anubis.Backtest Revisione trimestrale · Anubis @if (_review is null) { Torna al Laboratorio per l'elenco delle revisioni. return; }

← Laboratorio

Revisione del @_review.Title

@if (_review.Report is null) {

@ReviewView.Running(_review)

} else {

Conclusa @Format.LongDateTime(_review.FinishedAt ?? _review.CreatedAt, Shell.Zone).

}
@code { private Review? _review; [Parameter] public Guid Id { get; set; } [CascadingParameter] public HttpContext? HttpContext { get; set; } protected override async Task LoadAsync() => _review = (await QuarterlyReview.ListAsync(Host.Services!.Db, HttpContext?.RequestAborted ?? CancellationToken.None)).FirstOrDefault(r => r.Id == Id); }