13 lines
292 B
C#
13 lines
292 B
C#
using FluentValidation;
|
|
|
|
namespace Nitride.Handlebars;
|
|
|
|
public class RenderContentTemplateValidator<TModel> : AbstractValidator<RenderContentTemplate<TModel>>
|
|
{
|
|
public RenderContentTemplateValidator()
|
|
{
|
|
this.RuleFor(x => x.CreateModelCallback)
|
|
.NotNull();
|
|
}
|
|
}
|