|
@@ -13,7 +13,6 @@ namespace Hotline.Validators.Exams.Questions
|
|
|
public UpdateQuestionSourcewareDtoValidator()
|
|
|
{
|
|
|
RuleFor(m => m.SourcewareId).NotEmpty().WithMessage(x => string.Format(ExamErrorMessage.IsRequired, typeof(ExamSourceware).GetDescription()));
|
|
|
- RuleFor(m => m.QuestionId).NotEmpty().WithMessage(x => string.Format(ExamErrorMessage.IsRequired, typeof(ExamQuestion).GetDescription()));
|
|
|
RuleFor(m => m.Id).NotEmpty().WithMessage(x => string.Format(ExamErrorMessage.IsRequired, x.GetType().GetDescription(nameof(ExamPracticeQuestionSourceware.Id))));
|
|
|
}
|
|
|
}
|