public static CompositeTrainingStatus Compute(Member m, IEnumerable <TrainingCourse> courses, DateTime when) { //if (!m.ComputedAwards.IsLoaded) //{ // throw new InvalidOperationException("Must pre-load member's .ComputedAwards.Course"); //} return(CompositeTrainingStatus.Compute(m, m.ComputedAwards, courses, when)); }
public static CompositeTrainingStatus Compute(Member m, IEnumerable <TrainingCourse> courses, DateTime when) { return(CompositeTrainingStatus.Compute(m, m.ComputedAwards, courses, when)); }