This commit is contained in:
Tizian.Breuch
2025-09-25 16:35:20 +02:00
parent 88f520a51b
commit d3c03ef431
4 changed files with 60 additions and 102 deletions

View File

@@ -1,15 +1,15 @@
// RICHTIG - vollständig
// src/Webshop.Application/Services/Public/Interfaces/IProductService.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Application;
using Webshop.Application.DTOs.Products;
namespace Webshop.Application.Services.Public.Interfaces
{
public interface IProductService
{
Task<IEnumerable<ProductDto>> GetAllProductsAsync();
Task<ProductDto?> GetProductBySlugAsync(string slug);
Task<IEnumerable<ProductDto>> GetFeaturedProductsAsync(); // << NEU >>
Task<ServiceResult<IEnumerable<ProductDto>>> GetAllProductsAsync();
Task<ServiceResult<ProductDto>> GetProductBySlugAsync(string slug);
Task<ServiceResult<IEnumerable<ProductDto>>> GetFeaturedProductsAsync();
}
}