This commit is contained in:
Tizian.Breuch
2025-08-01 15:15:48 +02:00
parent 55eeaca7f4
commit 90171fffa2
12 changed files with 265 additions and 265 deletions

View File

@@ -0,0 +1,18 @@
// src/Webshop.Domain/Interfaces/IcategorieRepository.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Domain.Entities;
namespace Webshop.Domain.Interfaces
{
public interface IcategorieRepository
{
Task<IEnumerable<categorie>> GetAllAsync();
Task<categorie?> GetByIdAsync(Guid id);
Task<categorie?> GetBySlugAsync(string slug);
Task AddAsync(categorie categorie);
Task UpdateAsync(categorie categorie);
Task DeleteAsync(Guid id);
}
}