17 lines
467 B
C#
17 lines
467 B
C#
namespace UtopiaCanteenSystem.Services;
|
|
|
|
/// <summary>
|
|
/// Provides persisted configuration values for the app.
|
|
/// </summary>
|
|
public interface IConfigService
|
|
{
|
|
string GetSyncApiEndpoint();
|
|
void SetSyncApiEndpoint(string endpoint);
|
|
bool GetScannerConnected();
|
|
void SetScannerConnected(bool connected);
|
|
int GetScanTimeoutSeconds();
|
|
void SetScanTimeoutSeconds(int seconds);
|
|
string GetAdminCardId();
|
|
void SetAdminCardId(string cardId);
|
|
}
|