AccountingNext/Schaad.Accounting.Common/Interfaces/ISettingsService.cs
Claudio Schaad a6e479094e Add "Strom" page for the yearly NeoVac electricity bills (#9)
Co-authored-by: Claudio Schaad <c.schaad@pog.ch>
Co-committed-by: Claudio Schaad <c.schaad@pog.ch>
2026-10-27 18:40:53 +00:00

37 lines
No EOL
875 B
C#

using System.Collections.Generic;
using Schaad.Accounting.Datasets;
namespace Schaad.Accounting.Interfaces
{
public interface ISettingsService
{
int GetYear();
void SetYear(int year);
bool TrySetYear(int year);
string GetMandator();
IReadOnlyList<string> GetMandators(int year);
void SetMandator(string mandator);
string GetBackupFilePath();
string GetUploadPath();
string GetCreditCardStatementPath();
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 bills, whose period doesn't align with calendar years).
/// </summary>
string GetMandatorPath();
SettingsDataset GetSettings();
}
}