categorie

This commit is contained in:
Tizian.Breuch
2025-09-25 16:29:29 +02:00
parent 32d6f4508f
commit ccd574455f
3 changed files with 46 additions and 33 deletions

View File

@@ -1,13 +1,14 @@
// src/Webshop.Application/Services/Public/Icategorieservice.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application;
using Webshop.Application.DTOs.Categorie;
namespace Webshop.Application.Services.Public
{
public interface ICategorieService
{
Task<IEnumerable<CategorieDto>> GetAllActiveAsync();
Task<CategorieDto?> GetBySlugAsync(string slug);
Task<ServiceResult<IEnumerable<CategorieDto>>> GetAllActiveAsync();
Task<ServiceResult<CategorieDto>> GetBySlugAsync(string slug);
}
}