16 lines
504 B
C#
16 lines
504 B
C#
// 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
|
|
{
|
|
Task<IEnumerable<PaymentMethod>> GetAllAsync();
|
|
Task<PaymentMethod?> GetByIdAsync(Guid id);
|
|
Task AddAsync(PaymentMethod paymentMethod);
|
|
Task UpdateAsync(PaymentMethod paymentMethod);
|
|
Task DeleteAsync(Guid id);
|
|
}
|
|
} |