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