public List <FCCxCIdentificacionTipo> DATOS_SelectAll() { try { var resTemp1 = bd.pr_FCCxCIdentificacionTipo_SeleccionarTodos((new ObjectParameter("iCodError", "0"))).ToList(); //TODO List <FCCxCIdentificacionTipo> res = new List <FCCxCIdentificacionTipo>(); foreach (var r in resTemp1) { FCCxCIdentificacionTipo n = new FCCxCIdentificacionTipo() { Dsc_TipoIdentif = r.Dsc_TipoIdentif, Id_TipoIdentif = r.Id_TipoIdentif }; res.Add(n); } return(res); } catch (Exception ex) { var msgError = ex.Message; } return(null); }
public List <pr_FCCxCIdentificacionTipo> DATOS_SelectAll() { try { List <pr_FCCxCIdentificacionTipo> res = bd.pr_FCCxCIdentificacionTipo_SeleccionarTodos((new ObjectParameter("iCodError", "0"))).ToList(); return(res); } catch (Exception ex) { var msgError = ex.Message; } return(null); }