17 lines
547 B
C#
17 lines
547 B
C#
// src/Webshop.Domain/Interfaces/IShippingMethodRepository.cs
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Webshop.Domain.Entities;
|
|
|
|
namespace Webshop.Domain.Interfaces
|
|
{
|
|
public interface IShippingMethodRepository
|
|
{
|
|
Task<IEnumerable<ShippingMethod>> GetAllAsync();
|
|
Task<ShippingMethod?> GetByIdAsync(Guid id); // << HINZUFÜGEN >>
|
|
Task AddAsync(ShippingMethod shippingMethod);
|
|
Task UpdateAsync(ShippingMethod shippingMethod);
|
|
Task DeleteAsync(Guid id);
|
|
}
|
|
} |