public List<Catalogo> CargarCatalogoWCF(string listado) { List<Catalogo> listadoTem = new List<Catalogo>(); try { listadoTem = new CatalogoDAL().CargarCatalogoDAL(listado); } catch (Exception ex) { //if (!EventLog.SourceExists("SistemaRRHH App")) // EventLog.CreateEventSource("GestionKPIs App", "Application"); //EventLog.WriteEntry("SistemaRRHH App", string.Format("Error: {0}. StackTrace: {1}", ex.Message, ex.StackTrace), EventLogEntryType.Error); } return listadoTem; }