This commit is contained in:
Tizian.Breuch
2025-08-01 15:17:14 +02:00
parent 90171fffa2
commit 4dfc50d572
9 changed files with 24 additions and 24 deletions

View File

@@ -8,9 +8,9 @@ namespace Webshop.Application.Services.Admin
{
public interface IAdminCategorieService
{
Task<IEnumerable<categorieDto>> GetAllAsync();
Task<categorieDto?> GetByIdAsync(Guid id);
Task<(categorieDto? Createdcategorie, string? ErrorMessage)> CreateAsync(CreatecategorieDto categorieDto);
Task<IEnumerable<CategorieDto>> GetAllAsync();
Task<CategorieDto?> GetByIdAsync(Guid id);
Task<(CategorieDto? Createdcategorie, string? ErrorMessage)> CreateAsync(CreatecategorieDto categorieDto);
Task<(bool Success, string? ErrorMessage)> UpdateAsync(Guid id, CreatecategorieDto categorieDto);
Task<bool> DeleteAsync(Guid id);
}