public static List GetProductWeight()

in AdventureWorksMVC/Business/ProductManager.cs [98:107]


        public static List<decimal?> GetProductWeight(int categoryId)
        {
            List<decimal?> weightList = null;
            weightList = (from p in Common.DataEntities.Product
                          where p.ProductSubcategory.ProductSubcategoryID == categoryId
                          && p.Weight != null
                          orderby p.Weight
                          select p.Weight).Distinct().ToList();
            return weightList;
        }