public static CursoxProfesorDC TranslateCursoxProfesorLRToCursoxProfesorDC(up_Listar_Cursos_x_ProfesorResult objLR) { CursoxProfesorDC objCursoxProfesorDC; try { objCursoxProfesorDC = new CursoxProfesorDC(); objCursoxProfesorDC.CursoId = objLR.CursoId; objCursoxProfesorDC.Codigo = objLR.Codigo; objCursoxProfesorDC.Nombre = objLR.Nombre; objCursoxProfesorDC.ProfesorId = objLR.ProfesorId; return objCursoxProfesorDC; } catch (Exception ex) { throw ex; } }
CursoxProfesorCollectionDC ICurso.WSListarCursosxProfesor(CursoxProfesorDC objCursoxProfesorDC) { CursoBC objCursoBC = new CursoBC(); return TranslatorHelper.TranslateCursosxProfesorLRToCursosxProfesorCollection(objCursoBC.listarCursosxProfesor(objCursoxProfesorDC.ProfesorId)); }
CursoxProfesorCollectionDC SSIA2013ServiceContracts.WSListarCursosxProfesor(CursoxProfesorDC objCursoxProfesorDC) { CursoBC objCursoBC = new CursoBC(); return TranslatorHelper.TranslateCursosxProfesorLRToCursosxProfesorCollection(objCursoBC.listarCursosxProfesor(objCursoxProfesorDC.ProfesorId)); }