I want to put a validation on IList to check if there are elements added in the ILIst.
If no elements present, I wan to show a validation message saying "Please add values in the list".
public virtual IList<QuestionnaireAnswerBlock> Answers { get; set; }
Please help.