public FM70Data MapData(FM70Global fm70Global) { var data = new FM70Data(); if (fm70Global.Learners != null) { data.Globals = MapGlobals(fm70Global).ToList(); data.Learners = MapLearners(fm70Global).ToList(); data.DPOutcomes = MapDPOutcomes(fm70Global).ToList(); data.LearningDeliveries = MapLearningDeliveries(fm70Global).ToList(); data.LearningDeliveryDeliverables = MapLearningDeliveryDeliverables(fm70Global).ToList(); data.LearningDeliveryDeliverablePeriods = MapLearningDeliveryDeliverablePeriods(fm70Global).ToList(); data.LearningDeliveryDeliverablePeriodisedValues = MapLearningDeliveryDeliverablePeriodisedValues(fm70Global).ToList(); } return(data); }
public Task StoreFM70DataAsync(FM70Data fm70Data, SqlConnection sqlConnection, CancellationToken cancellationToken) => _fm70DataStoreService.StoreAsync(fm70Data, sqlConnection, cancellationToken);