public List <pr_FCCxCStoreProc> DATOS_SelectAll() { try { List <pr_FCCxCStoreProc> res = bd.pr_FCCxCStoreProc_SeleccionarTodos(new ObjectParameter("iCodError", "0")).ToList(); return(res); } catch (Exception ex) { var msgError = ex.Message; } return(null); }
public List <FCCxCStoreProc> DATOS_SelectAll() { try { var resTemp = bd.pr_FCCxCStoreProc_SeleccionarTodos(new ObjectParameter("iCodError", "0")).ToList(); List <FCCxCStoreProc> res = new List <FCCxCStoreProc>(); foreach (var r in resTemp) { FCCxCStoreProc n = new FCCxCStoreProc() { Nom_SP = r.Nom_SP, Dsc_SP = r.Dsc_SP }; res.Add(n); } return(res); } catch (Exception ex) { var msgError = ex.Message; } return(null); }