Files
ShopSolution-backend/Webshop.Domain/Interfaces/IAddressRepository.cs
2025-08-01 09:09:49 +02:00

17 lines
499 B
C#

// src/Webshop.Domain/Interfaces/IAddressRepository.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Webshop.Domain.Entities;
namespace Webshop.Domain.Interfaces
{
public interface IAddressRepository
{
Task<IEnumerable<Address>> GetAllForCustomerAsync(Guid customerId);
Task<Address?> GetByIdAsync(Guid id);
Task AddAsync(Address address);
Task UpdateAsync(Address address);
Task DeleteAsync(Guid id);
}
}