Hello
I must be missing something since declarative validation works only when there is fluent validator present in the Service.Interface project?
public class SnimiArtikal: IArtikal, IReturn<ArtikalDB>, IPost
{
[ValidateNotNull]
public string Sifra { get; set; }
...
}
It does not work until I make at least:
public class ArtikalValidator: AbstractValidator<SnimiArtikal>
{
}
I didn’t found anything else in docs that needs to be configured, other than:
Plugins.Add(new ValidationFeature());
Plugins.Add(new SharpPagesFeature());
I don’t use AutoCRUD feature (if that matters).
Thanks