public static CompetenciaAbetXMallaEncuestaCollectionDC TranslateCompetenciaAbetPDFXMallaEncuestaLRToCompetenciaAbetCollection(List<uspCompetenciaAbet_ListarPDFXMallaEncuestaResult> lstLR) { CompetenciaAbetXMallaEncuestaCollectionDC collection; try { collection = new CompetenciaAbetXMallaEncuestaCollectionDC(); collection.LstCompetenciaAbetXMallaEncuesta = new Collection<CompetenciaAbetXMallaEncuestaDC>(); for (int i = 0; i < lstLR.Count; i++) { collection.LstCompetenciaAbetXMallaEncuesta.Add(TranslateCompetenciaAbetPDFXMallaEncuestaLRToCompetenciaAbetDC(lstLR[i])); } return collection; } catch (Exception ex) { throw ex; } finally { } }
public static CompetenciaAbetXMallaEncuestaCollectionDC TranslateCompetenciaAbetxMallaEncuestaXResultadoProgramaToCompetenciaAbetCollection(List<uspCompetenciaAbet_ListarXMallaEncuestaXResultadoProgramaResult> objLR) { CompetenciaAbetXMallaEncuestaCollectionDC collection; try { collection = new CompetenciaAbetXMallaEncuestaCollectionDC(); collection.LstCompetenciaAbetXMallaEncuesta = new Collection<CompetenciaAbetXMallaEncuestaDC>(); for (int i = 0; i < objLR.Count; i++) { collection.LstCompetenciaAbetXMallaEncuesta.Add(TranslateCompetenciaAbetxMallaencuestaXResultadoProgramaToCompetenciaAbetDC(objLR[i])); } return collection; } catch (Exception ex) { throw ex; } finally { } }