Files
ShopSolution-backend/Webshop.Application/Services/Customers/Interfaces/ICustomerService.cs
Tizian.Breuch 90383f2068 customer
2025-09-25 16:18:44 +02:00

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);
}
}