16 lines
683 B
C#
16 lines
683 B
C#
// src/Webshop.Application/Services/Customers/ICustomerService.cs
|
|
using System.Threading.Tasks;
|
|
using Webshop.Application.DTOs; // CustomerDto
|
|
using Webshop.Application.DTOs.Auth; // ChangePasswordRequestDto
|
|
using Webshop.Application.DTOs.Customers; // UpdateCustomerProfileDto
|
|
|
|
namespace Webshop.Application.Services.Customers
|
|
{
|
|
public interface ICustomerService
|
|
{
|
|
Task<CustomerDto?> GetMyProfileAsync(string userId);
|
|
Task<(bool Success, string ErrorMessage)> ChangePasswordAsync(string userId, ChangePasswordRequestDto request);
|
|
Task<(bool Success, string ErrorMessage)> UpdateMyProfileAsync(string userId, UpdateCustomerDto profileDto);
|
|
|
|
}
|
|
} |