settings
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
using System;
|
||||
// src/Webshop.Domain/Interfaces/ISettingRepository.cs
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
// Deklariert reine Datenbankoperationen für die 'Setting'-Entität
|
||||
public interface ISettingRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
Task<IEnumerable<Setting>> GetAllAsync();
|
||||
Task<Setting?> GetByKeyAsync(string key);
|
||||
Task UpdateAsync(Setting setting);
|
||||
Task AddAsync(Setting setting);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user