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