@page "/"
@attribute [Authorize]
@inject DashboardService DashboardService
@inject ITransactionRepository TransactionService
@inject ISalaryRepository SalaryService
@inject AuthenticationStateProvider AuthStateProvider
@inject IJSRuntime Js
@using BudgetApp.Data.Entities
@implements IAsyncDisposable
@rendermode InteractiveServer
An overview of your balances, recent and upcoming transactions.
@if (_data is null) {Loading...
} else if (_data.Accounts.Count == 0) {Get started by adding an account and then recording transactions.
No recent transactions.
} else {No upcoming transactions.
} else {