@using System.Globalization
@using Overflow.SouthernWater
@rendermode RenderMode.InteractiveAuto
@if (Job == null)
{
Loading...
}
else
{
Total Duration: @Job.Spills.Select(j => j.duration).Sum().ToString(CultureInfo.CurrentCulture) min
}
@code {
RadzenDataGrid spillsGrid;
[Parameter] public SouthernWaterApiJob? Job { get; set; }
}