@page "/layers/{id:guid}" @using DiunaBI.UI.Shared.Services @using DiunaBI.Application.DTOModels @using MudBlazor @inject LayerService LayerService @inject NavigationManager NavigationManager Layer Details Export @if (layer != null && layer.Type == LayerType.Administration) { Duplicate Edit } @if (layer != null && layer.Type == LayerType.Processed) { Process Layer } @if (isLoading) { } else if (layer == null) { Layer not found } else { @if (layer.IsCancelled) { This layer is cancelled. Will not be used in any further processing. } Code @foreach (var column in displayedColumns) { @column } @context.Code @foreach (var column in displayedColumns) { @GetRecordValue(context, column) } Value1 sum @foreach (var column in displayedColumns) { @if (column == "Value1") { @valueSum.ToString("N2") } else { } } }