21 lines
403 B
C#
21 lines
403 B
C#
using FluentValidation.Validators;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace zero.Core.Validation
|
|
{
|
|
public class UniqueValidator : PropertyValidator
|
|
{
|
|
public UniqueValidator() : base("@errors.forms.not_unique")
|
|
{
|
|
|
|
}
|
|
|
|
protected override bool IsValid(PropertyValidatorContext context)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|