private void DefaultPreferredEducationPhase(Candidate candidate)
 {
     if (candidate.IsReturningToTeaching())
     {
         candidate.PreferredEducationPhaseId = (int)Candidate.PreferredEducationPhase.Secondary;
     }
 }
        private void SetAdviserEligibility(Candidate candidate)
        {
            var eligibleForAnAdviser = DegreeTypeId == (int)CandidateQualification.DegreeType.Degree || candidate.IsReturningToTeaching();

            if (eligibleForAnAdviser)
            {
                candidate.AssignmentStatusId            = (int)Candidate.AssignmentStatus.WaitingToBeAssigned;
                candidate.AdviserEligibilityId          = (int)Candidate.AdviserEligibility.Yes;
                candidate.AdviserRequirementId          = (int)Candidate.AdviserRequirement.Yes;
                candidate.StatusIsWaitingToBeAssignedAt = DateTimeProvider.UtcNow;
            }
        }