settings
This commit is contained in:
12
Webshop.Domain/Interfaces/ISettingService.cs
Normal file
12
Webshop.Domain/Interfaces/ISettingService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
// src/Webshop.Domain/Interfaces/ISettingService.cs
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
// Deklariert "Business"-Methoden, die von anderen Services genutzt werden
|
||||
public interface ISettingService
|
||||
{
|
||||
Task<T> GetSettingValueAsync<T>(string key, T defaultValue);
|
||||
Task UpdateSettingAsync(string key, string? value);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user