public static List<ProductCategory> GetCategory() { var q = dc.ProductCategories.Select(x => new {x.Name,x.ID }).ToList(); List<GetProductList> lstproductCatogry = q.ToList().AsEnumerable(); return lstproductCatogry; }
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.