|
@@ -13,7 +13,6 @@ namespace Hotline.Validators.Exams.Questions
|
|
|
public UpdateQuestionTagDtoValidator()
|
|
|
{
|
|
|
RuleFor(m => m.TagId).NotEmpty().WithMessage(x => string.Format(ExamErrorMessage.IsRequired, typeof(ExamTag).GetDescription()));
|
|
|
- RuleFor(m=>m.Id).NotEmpty().WithMessage(x => string.Format(ExamErrorMessage.IsRequired, x.GetType().GetDescription(nameof(ExamQuestionTag.Id))));
|
|
|
}
|
|
|
}
|
|
|
}
|