public List <UNIT_DISTRIBUTION> GetUnitDistribution(string SOPNUMBE) { var contexto = new ATLANEntities(); try { return(contexto.usp_SYSFLEX_GET_UNIT_DISTRIBUTION(SOPNUMBE).ToList()); } catch (Exception) { throw; } finally { contexto.Dispose(); } }