admin adress
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Webshop.Application;
|
||||
using Webshop.Application.DTOs.Customers;
|
||||
|
||||
namespace Webshop.Application.Services.Admin.Interfaces
|
||||
{
|
||||
public interface IAdminAddressService
|
||||
{
|
||||
Task<ServiceResult<IEnumerable<AddressDto>>> GetAllAddressesAsync();
|
||||
Task<ServiceResult<AddressDto>> GetAddressByIdAsync(Guid addressId);
|
||||
// Admins erstellen Adressen typischerweise im Kontext eines Kunden
|
||||
Task<ServiceResult<AddressDto>> CreateAddressForCustomerAsync(CreateAddressDto addressDto, Guid customerId);
|
||||
Task<ServiceResult> UpdateAddressAsync(UpdateAddressDto addressDto);
|
||||
Task<ServiceResult> DeleteAddressAsync(Guid addressId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user