diff --git a/Webshop.Application/Services/Customers/CustomerService.cs b/Webshop.Application/Services/Customers/CustomerService.cs index 70eb25a..61cefca 100644 --- a/Webshop.Application/Services/Customers/CustomerService.cs +++ b/Webshop.Application/Services/Customers/CustomerService.cs @@ -24,12 +24,16 @@ namespace Webshop.Application.Services.Customers private readonly IConfiguration _configuration; // << NEU: Für BaseUrl >> private readonly IResend _resend; // << NEU >> - public CustomerService(ICustomerRepository customerRepository, UserManager userManager) + public CustomerService( + ICustomerRepository customerRepository, + UserManager userManager, + IConfiguration configuration, // Im Konstruktor injizieren + IResend resend) // Im Konstruktor injizieren { _customerRepository = customerRepository; _userManager = userManager; - _configuration = configuration; - _resend = resend; + _configuration = configuration; // Im Konstruktor initialisieren + _resend = resend; // Im Konstruktor initialisieren } public async Task GetMyProfileAsync(string userId)