From 0068ee106ba5067936094c9a5f788919f39879fe Mon Sep 17 00:00:00 2001 From: "Tizian.Breuch" Date: Tue, 29 Jul 2025 15:43:10 +0200 Subject: [PATCH] resend --- .../Services/Customers/CustomerService.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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)