I have two properties in my view model that are nullable integers such as:
public int? yearending
public int? quarter
I need a ValidationAttribute that if one of these values is not null then the other value has to also be not null. Both ways I need this so if yearending is not null then quarter is required otherwise if quarter is not null yearending is required.