Пример #1
0
 public static ProjectionTrainingProvider ToProjection(this TrainingProvider trainingProvider)
 {
     return(new ProjectionTrainingProvider
     {
         Name = trainingProvider.Name,
         Ukprn = trainingProvider.Ukprn.Value
     });
 }
Пример #2
0
 private void PatchVacancyTrainingProvider(Esfa.Recruit.Vacancies.Client.Domain.Entities.Vacancy vacancy, Esfa.Recruit.Vacancies.Client.Domain.Entities.TrainingProvider tp)
 {
     if (tp == null)
     {
         _logger.LogError($"Unable to patch training provider for vacancy {vacancy.VacancyReference}");
         return;
     }
     vacancy.TrainingProvider.Name    = tp.Name;
     vacancy.TrainingProvider.Address = tp.Address;
 }
Пример #3
0
 private void PatchVacancyTrainingProvider(Esfa.Recruit.Vacancies.Client.Domain.Entities.Vacancy vacancy, Esfa.Recruit.Vacancies.Client.Domain.Entities.TrainingProvider tp)
 {
     vacancy.TrainingProvider.Name    = tp.Name;
     vacancy.TrainingProvider.Address = tp.Address;
 }