13 lines
376 B
C#
13 lines
376 B
C#
// 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);
|
|
}
|
|
} |