using Microsoft.AspNetCore.Components; using Schaad.Accounting.Interfaces; using Schaad.Accounting.Models; namespace Schaad.Accounting.UI.Components.Pages; public partial class BankTransactions : ComponentBase { [Inject] private IBankTransactionRepository bankTransactionRepository { get; set; } = null!; private IQueryable? TransactionList; protected override async Task OnInitializedAsync() { TransactionList = (await bankTransactionRepository.GetBankTransactionListAsync()).AsQueryable(); await base.OnInitializedAsync(); } }