- CSS: drop the Bootstrap template leftovers (NavMenu.razor.css, most of MainLayout.razor.css, button/form rules in app.css) and the copied Fluent demo rules in BankTransactions.razor.css. - Bootstrap: keep only bootstrap.min.css (+ map); 42 unused files removed. - Credit-card statement import, never wired into the Blazor UI: service methods, GetCreditCardStatementPath, DI registrations for ICreditCardStatementService/IPdfParsingService, FreeSpire.PDF. - CSV export (GetTransactionListCsvAsync), only called from tests. - Split predefinitions: model, repository and the JSON editor entry. - Unused members: TrySetYear, GetUploadPath (+ DataFolders.Uploads), GetClasses; unused usings, fields and parameters. - Home.razor.css -> PendingBookings.razor.css: the pending-bookings table moved there in "PR U-10" and had lost its styling since. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
No EOL
770 B
C#
31 lines
No EOL
770 B
C#
using System.Collections.Generic;
|
|
using Schaad.Accounting.Datasets;
|
|
|
|
namespace Schaad.Accounting.Interfaces
|
|
{
|
|
public interface ISettingsService
|
|
{
|
|
int GetYear();
|
|
|
|
void SetYear(int year);
|
|
|
|
string GetMandator();
|
|
IReadOnlyList<string> GetMandators(int year);
|
|
|
|
void SetMandator(string mandator);
|
|
|
|
string GetBackupFilePath();
|
|
|
|
string GetDbPath();
|
|
|
|
string GetLastYearDbPath();
|
|
|
|
/// <summary>
|
|
/// The mandator's folder, above the per-year folders. For data that is not kept per
|
|
/// year (e.g. the electricity and water bills, whose period doesn't align with calendar years).
|
|
/// </summary>
|
|
string GetMandatorPath();
|
|
|
|
SettingsDataset GetSettings();
|
|
}
|
|
} |