dtos neu und aufräumen

This commit is contained in:
Tizian.Breuch
2025-07-31 12:47:37 +02:00
parent 9e6f668752
commit 2e1488d8d5
5 changed files with 57 additions and 38 deletions

View File

@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Mvc;
using Webshop.Application.DTOs.Auth;
using Webshop.Application.DTOs.Email;
using Webshop.Application.Services.Auth;
using Microsoft.AspNetCore.Authorization;
using System.ComponentModel.DataAnnotations;
@@ -14,12 +15,6 @@ namespace Webshop.Api.Controllers.Auth // Beachten Sie den Namespace
private readonly IAuthService _authService;
private readonly ICustomerService _customerService;
public class ResendEmailConfirmationRequestDto
{
[Required]
[EmailAddress]
public string Email { get; set; } = string.Empty;
}
public AuthController(IAuthService authService, ICustomerService customerService)
{