slug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user