shop info
This commit is contained in:
13
Webshop.Domain/Interfaces/IShopInfoRepository.cs
Normal file
13
Webshop.Domain/Interfaces/IShopInfoRepository.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
// src/Webshop.Domain/Interfaces/IShopInfoRepository.cs
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IShopInfoRepository
|
||||
{
|
||||
Task<ShopInfo?> GetAsync(); // Ruft die (einzige) ShopInfo-Zeile ab
|
||||
Task UpdateAsync(ShopInfo shopInfo);
|
||||
Task AddAsync(ShopInfo shopInfo);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user