private List<AwardVO> getEMPaward(int p) { List<AwardVO> lista = new List<AwardVO>(); FVSL_LINQDataContext dbaux = new FVSL_LINQDataContext(); try { List<MAPA_GET_AWAResult> awards = dbaux.MAPA_GET_AWA(p, 1).ToList(); foreach (MAPA_GET_AWAResult awa in awards) { AwardVO AVO = new AwardVO(); AVO.awardName = awa.nombre; AVO.recibido = awa.Otorgado; lista.Add(AVO); } return lista; } catch (Exception e) { Logging.WriteError(e.StackTrace.ToString()); return null; } }