Use file scoped namepace

This commit is contained in:
2022-12-22 15:29:53 +01:00
parent 27bf5f0b24
commit 6d7e447ccc
51 changed files with 886 additions and 937 deletions

View File

@@ -1,19 +1,18 @@
using FluentValidation;
using GerstITS.Validation;
namespace GerstITS.Examples.Logic.Shared.Validation
{
internal sealed class IdValidationRule : ValidationRuleBase<int>
{
#region Constructors
public IdValidationRule()
{
RuleFor(x => x)
.GreaterThan(0)
.OverridePropertyName("id");
}
namespace GerstITS.Examples.Logic.Shared.Validation;
#endregion
}
}
internal sealed class IdValidationRule : ValidationRuleBase<int>
{
#region Constructors
public IdValidationRule()
{
RuleFor(x => x)
.GreaterThan(0)
.OverridePropertyName("id");
}
#endregion
}