Ejemplo n.º 1
0
 private IEnumerable <DLModel.EducationDetail> AddEducationFormat(IEnumerable <DLModel.EducationDetail> _education)
 {
     foreach (DLModel.EducationDetail education in _education)
     {
         education.EducationFormat = _educationFormatAvailableRepository.GetEducationFormatsByEducationID(education.EducationID).Select(hp => new DLModel.EducationFormat().InjectFrom(hp)).Cast <DLModel.EducationFormat>().ToList();
     }
     return(_education);
 }
Ejemplo n.º 2
0
 public IEnumerable <EducationFormatDetail> GetEducationFormatsByEducationID(int educationID)
 {
     return(_educationFormatAvailableRepository.GetEducationFormatsByEducationID(educationID));
 }