discount und summary
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
// Auto-generiert von CreateWebshopFiles.ps1
|
||||
// src/Webshop.Domain/Interfaces/IDiscountRepository.cs
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Domain.Entities;
|
||||
|
||||
|
||||
namespace Webshop.Domain.Interfaces
|
||||
{
|
||||
public interface IDiscountRepository
|
||||
{
|
||||
// Fügen Sie hier Methodensignaturen hinzu
|
||||
Task<IEnumerable<Discount>> GetAllAsync();
|
||||
Task<Discount?> GetByIdAsync(Guid id);
|
||||
Task AddAsync(Discount discount);
|
||||
Task UpdateAsync(Discount discount);
|
||||
Task DeleteAsync(Guid id);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user