From 74a8569f7147870c07f544ae5d78ee30d749dbac Mon Sep 17 00:00:00 2001 From: "Tizian.Breuch" Date: Fri, 25 Jul 2025 15:51:42 +0200 Subject: [PATCH] update --- .../DTOs/Customers/UpdateCustomerProfileDto.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Webshop.Application/DTOs/Customers/UpdateCustomerProfileDto.cs b/Webshop.Application/DTOs/Customers/UpdateCustomerProfileDto.cs index db76a3f..8bb453a 100644 --- a/Webshop.Application/DTOs/Customers/UpdateCustomerProfileDto.cs +++ b/Webshop.Application/DTOs/Customers/UpdateCustomerProfileDto.cs @@ -4,15 +4,13 @@ namespace Webshop.Application.DTOs.Customers { public class UpdateCustomerProfileDto { - [Required] + [Required(ErrorMessage = "Vorname ist erforderlich.")] [MaxLength(100)] public string FirstName { get; set; } = string.Empty; - [Required] + [Required(ErrorMessage = "Nachname ist erforderlich.")] [MaxLength(100)] public string LastName { get; set; } = string.Empty; - - // PhoneNumber könnte auch hier sein, falls der User das ändern darf - // public string? PhoneNumber { get; set; } + } } \ No newline at end of file