This commit is contained in:
Tizian.Breuch
2025-08-01 15:21:40 +02:00
parent 4dfc50d572
commit 1317844ce5
19 changed files with 66 additions and 147 deletions

View File

@@ -6,13 +6,13 @@ using Webshop.Domain.Entities;
namespace Webshop.Domain.Interfaces
{
public interface IcategorieRepository
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<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);
}
}