This commit is contained in:
Tizian.Breuch
2025-07-25 16:13:36 +02:00
parent cd48011cc3
commit f318340f98
2 changed files with 32 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
// src/Webshop.Application/Services/Public/IProductService.cs
// RICHTIG - vollständig
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application.DTOs.Products;
@@ -8,7 +8,7 @@ namespace Webshop.Application.Services.Public.Interfaces
public interface IProductService
{
Task<IEnumerable<ProductDto>> GetAllProductsAsync();
// Task<ProductDto?> GetProductByIdAsync(Guid id); // Wenn Sie eine einzelne öffentliche Produktansicht brauchen
// Task<ProductDto> CreateProductAsync(ProductDto productDto); // Nur wenn Public Service auch Erstellung erlaubt
Task<ProductDto?> GetProductBySlugAsync(string slug);
}
}