Data loading update, prospect container styling

This commit is contained in:
Andre Beging
2025-03-27 16:16:48 +01:00
parent bb5ec71539
commit 572a35fd3f
11 changed files with 137 additions and 125 deletions

View File

@@ -5,40 +5,37 @@ using Microsoft.AspNetCore.Components;
namespace FoodsharingSiegen.Server.Pages
{
/// <summary>
/// The audit view class (a. beging, 23.05.2022)
/// The audit view class (a. beging, 23.05.2022)
/// </summary>
public partial class AuditView
{
#region Dependencies (Injected)
#region Dependencies
/// <summary>
/// Gets or sets the value of the audit service (ab)
/// Gets or sets the value of the audit service (ab)
/// </summary>
[Inject] public AuditService? AuditService { get; set; }
[Inject]
public AuditService? AuditService { get; set; }
#endregion
#region Public Properties
#region Private Properties
/// <summary>
/// Gets or sets the value of the audits (ab)
/// Gets or sets the value of the audits (ab)
/// </summary>
private List<Audit>? Audits { get; set; }
#endregion
#region Override OnInitializedAsync
#region Override InitializeDataAsync
/// <summary>
/// Ons the initialized (a. beging, 23.05.2022)
/// </summary>
protected override async Task OnInitializedAsync()
/// <inheritdoc />
protected override async Task InitializeDataAsync()
{
var loadR = await AuditService?.Load(100)!;
if (loadR.Success)
Audits = loadR.Data;
await base.OnInitializedAsync();
}
#endregion