resend
This commit is contained in:
@@ -24,12 +24,16 @@ namespace Webshop.Application.Services.Customers
|
|||||||
private readonly IConfiguration _configuration; // << NEU: Für BaseUrl >>
|
private readonly IConfiguration _configuration; // << NEU: Für BaseUrl >>
|
||||||
private readonly IResend _resend; // << NEU >>
|
private readonly IResend _resend; // << NEU >>
|
||||||
|
|
||||||
public CustomerService(ICustomerRepository customerRepository, UserManager<ApplicationUser> userManager)
|
public CustomerService(
|
||||||
|
ICustomerRepository customerRepository,
|
||||||
|
UserManager<ApplicationUser> userManager,
|
||||||
|
IConfiguration configuration, // Im Konstruktor injizieren
|
||||||
|
IResend resend) // Im Konstruktor injizieren
|
||||||
{
|
{
|
||||||
_customerRepository = customerRepository;
|
_customerRepository = customerRepository;
|
||||||
_userManager = userManager;
|
_userManager = userManager;
|
||||||
_configuration = configuration;
|
_configuration = configuration; // Im Konstruktor initialisieren
|
||||||
_resend = resend;
|
_resend = resend; // Im Konstruktor initialisieren
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<CustomerDto?> GetMyProfileAsync(string userId)
|
public async Task<CustomerDto?> GetMyProfileAsync(string userId)
|
||||||
|
|||||||
Reference in New Issue
Block a user