Update to latest packages and show examples

This commit is contained in:
2026-07-05 22:05:53 +02:00
parent 3a36978997
commit c7ddc282ed
52 changed files with 2156 additions and 21 deletions
@@ -0,0 +1,24 @@
using FluentValidation;
using GerstITS.Validation;
namespace GerstITS.Examples.Logic.Customers.Validation;
internal sealed class CustomerValidationRule : ValidationRuleBase<Customer>
{
#region Constructors
public CustomerValidationRule()
{
RuleFor(x => x.FirstName)
.NotEmpty();
RuleFor(x => x.LastName)
.NotEmpty();
RuleFor(x => x.EMail)
.NotEmpty()
.IsEMail();
}
#endregion
}