17 lines
710 B
C#
17 lines
710 B
C#
// src/Webshop.Application/Services/Customers/ICustomerService.cs
|
|
using System.Threading.Tasks;
|
|
using Webshop.Application;
|
|
using Webshop.Application.DTOs;
|
|
using Webshop.Application.DTOs.Auth;
|
|
using Webshop.Application.DTOs.Customers;
|
|
|
|
namespace Webshop.Application.Services.Customers
|
|
{
|
|
public interface ICustomerService
|
|
{
|
|
Task<ServiceResult<CustomerDto>> GetMyProfileAsync(string userId);
|
|
Task<ServiceResult> UpdateMyProfileAsync(string userId, UpdateCustomerDto profileDto);
|
|
Task<ServiceResult> ChangePasswordAsync(string userId, ChangePasswordRequestDto request);
|
|
Task<ServiceResult> ChangeEmailAsync(string userId, string newEmail, string currentPassword);
|
|
}
|
|
} |