This commit is contained in:
Tizian.Breuch
2025-09-08 11:24:10 +02:00
parent 471f4a2e7a
commit 5b84ccc575
15 changed files with 352 additions and 63 deletions

View File

@@ -1,14 +1,18 @@
// Auto-generiert von CreateWebshopFiles.ps1
// src/Webshop.Domain/Interfaces/IReviewRepository.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Domain.Entities;
namespace Webshop.Domain.Interfaces
{
public interface IReviewRepository
{
// Fügen Sie hier Methodensignaturen hinzu
Task<IEnumerable<Review>> GetAllAsync();
Task<IEnumerable<Review>> GetApprovedByProductIdAsync(Guid productId);
Task<Review?> GetByIdAsync(Guid id);
Task AddAsync(Review review);
Task UpdateAsync(Review review);
Task DeleteAsync(Guid id);
}
}
}