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