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