예제 #1
0
        public async Task <IEnumerable <LarsLearningDeliveryModel> > GetLarsLearningDelivery(IEnumerable <string> learnAimRefs, CancellationToken cancellationToken)
        {
            await _referenceDataCache.PopulateLarsLearningDeliveries(learnAimRefs, cancellationToken);

            return(_referenceDataCache.GetLarsLearningDelivery(learnAimRefs));
        }
예제 #2
0
 public async Task PrePopulateLarsLearningDeliveries(IEnumerable <string> learnAimRefs, CancellationToken cancellationToken)
 {
     await _cache.PopulateLarsLearningDeliveries(learnAimRefs, cancellationToken);
 }