address update
This commit is contained in:
@@ -11,7 +11,9 @@ namespace Webshop.Application.Services.Customers
|
||||
Task<IEnumerable<AddressDto>> GetMyAddressesAsync(string userId);
|
||||
Task<AddressDto?> GetMyAddressByIdAsync(Guid addressId, string userId);
|
||||
Task<(AddressDto? CreatedAddress, string? ErrorMessage)> CreateAddressAsync(CreateAddressDto addressDto, string userId);
|
||||
Task<(bool Success, string? ErrorMessage)> UpdateAddressAsync(Guid addressId, CreateAddressDto addressDto, string userId);
|
||||
Task<(bool Success, string? ErrorMessage)> UpdateAddressAsync(UpdateAddressDto addressDto, string userId);
|
||||
Task<(bool Success, string? ErrorMessage)> DeleteAddressAsync(Guid addressId, string userId);
|
||||
Task<(bool Success, string? ErrorMessage)> SetDefaultShippingAddressAsync(Guid addressId, string userId);
|
||||
Task<(bool Success, string? ErrorMessage)> SetDefaultBillingAddressAsync(Guid addressId, string userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user