public List<VISTA_PRESTACIONES_POR_FACTURAR> GetAllWithReferences() { Init(); try { using (LQCEEntities context = new LQCEEntities()) { RepositorioVISTA_PRESTACIONES_POR_FACTURAR repositorio = new RepositorioVISTA_PRESTACIONES_POR_FACTURAR(context); return repositorio.GetAllWithReferences().OrderBy(i => i.NOMBRE).ToList(); } } catch (Exception ex) { ISException.RegisterExcepcion(ex); Error = ex.Message; throw ex; } }