15 lines
684 B
C#
15 lines
684 B
C#
using System.Threading.Tasks;
|
|
using Webshop.Application; // Für ServiceResult
|
|
using Webshop.Application.DTOs.Auth;
|
|
using Webshop.Application.DTOs.Customers;
|
|
|
|
namespace Webshop.Application.Services.Customers.Interfaces // Namespace angepasst auf .Interfaces
|
|
{
|
|
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);
|
|
}
|
|
} |