public static ProviderSpecLearnerMonitoring BuildValidProviderSpecLearnerMonitoring(
     int ukprn,
     ILearner learner,
     IProviderSpecLearnerMonitoring providerSpecLearnerMonitoring)
 {
     return(new ProviderSpecLearnerMonitoring
     {
         LearnRefNumber = learner.LearnRefNumber,
         UKPRN = ukprn,
         ProvSpecLearnMon = providerSpecLearnerMonitoring.ProvSpecLearnMon,
         ProvSpecLearnMonOccur = providerSpecLearnerMonitoring.ProvSpecLearnMonOccur
     });
 }
 public static ProviderSpecLearnerMonitoring BuildInvalidProviderSpecLearnerMonitoring(
     int ukprn,
     ILearner learner,
     IProviderSpecLearnerMonitoring providerSpecLearnerMonitoring,
     int learnerId,
     int providerSpecLearnerMonitoringId)
 {
     return(new ProviderSpecLearnerMonitoring
     {
         ProviderSpecLearnerMonitoring_Id = providerSpecLearnerMonitoringId,
         Learner_Id = learnerId,
         LearnRefNumber = learner.LearnRefNumber,
         UKPRN = ukprn,
         ProvSpecLearnMon = providerSpecLearnerMonitoring.ProvSpecLearnMon,
         ProvSpecLearnMonOccur = providerSpecLearnerMonitoring.ProvSpecLearnMonOccur
     });
 }
Example #3
0
 private void PopulateProviderSpecLearnerMonitorings(int ukprn, ILearner learner, IProviderSpecLearnerMonitoring monitoring, int learnerId, int providerSpecLearnerMonitoringId, InvalidLearnerData invalidLearnerData)
 {
     invalidLearnerData.RecordsInvalidProviderSpecLearnerMonitorings.Add(ProviderSpecLearnerMonitoringBuilder.BuildInvalidProviderSpecLearnerMonitoring(ukprn, learner, monitoring, learnerId, providerSpecLearnerMonitoringId));
 }
 private void PopulateProviderSpecLearnerMonitorings(int ukprn, ILearner learner, IProviderSpecLearnerMonitoring monitoring, ValidLearnerData validLearnerData)
 {
     validLearnerData.RecordsValidProviderSpecLearnerMonitorings.Add(ProviderSpecLearnerMonitoringBuilder.BuildValidProviderSpecLearnerMonitoring(ukprn, learner, monitoring));
 }