refactor(app): move account razor inline code to partial classes
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using Duempelkas.App.Services.Models;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace Duempelkas.App.Components.Accounts;
|
||||
|
||||
public partial class EntryTable
|
||||
{
|
||||
#region Parameters
|
||||
|
||||
[Parameter]
|
||||
public List<EntryDto> Entries { get; set; } = new();
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<int> OnDeleteEntry { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<int> OnRestoreEntry { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<int> OnEditEntry { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user