public bool ConditionMet(string learnAimRef, decimal?pctldcs) { return(pctldcs.HasValue && !_larsDataService.HasKnownLearnDirectClassSystemCode3For(learnAimRef)); }
/// <summary> /// Determines whether [has known LDCS code] [the specified delivery]. /// </summary> /// <param name="delivery">The delivery.</param> /// <returns> /// <c>true</c> if [has known LDCS code] [the specified delivery]; otherwise, <c>false</c>. /// </returns> public bool HasKnownLDCSCode(ILearningDelivery delivery) => _larsData.HasKnownLearnDirectClassSystemCode3For(delivery.LearnAimRef);