I have a competition class and a competitionEntry class. A competition can have 5 questions (just string values) and the competitionEntry can have 5 answers (also only string values).
How would I validate that if a question is present that the answer should be present as well?
I think I need a custom validation attribute but how would I get the competition class properties to check if the answer is filled in and so the questions must also be?