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