public List <FCCxCConcepto> DATOS_SelectAll() { try { using (bd = new bdFCCxCEntities()) { var resTemp1 = bd.pr_FCCxCConcepto_SeleccionarTodos(new ObjectParameter("iCodError", "0")).ToList(); List <FCCxCConcepto> res = new List <FCCxCConcepto>(); foreach (var t in resTemp1) { var n = new FCCxCConcepto() { IdConcepto = t.IdConcepto, DscTipo = t.DscTipo }; res.Add(n); } return(res); } } catch (Exception ex) { //var msgError = ex.Message; throw ex; } //return null; }