AccountingNext/Schaad.Accounting.Common/DataFolders.cs
Claudio Schaad 1a3d93e0e3 Remove dead and unused code
- 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>
2026-10-30 22:46:08 +01:00

20 lines
617 B
C#

namespace Schaad.Accounting
{
/// <summary>
/// Folder layout below DataPath:
/// <code>
/// {DataPath}/{mandator}/{year}/*.json data files
/// {DataPath}/backup/{mandator}/{year}/ backup zips
/// </code>
/// </summary>
public static class DataFolders
{
public const string Backup = "backup";
/// <summary>
/// True for the top-level folders that are not mandators.
/// </summary>
public static bool IsReserved(string folderName)
=> folderName.Equals(Backup, System.StringComparison.OrdinalIgnoreCase);
}
}