public IEnumerable <ProductCategoryDto> GetProductCategory() { var result = ProductCategoryService.GetAllProductCategory().Select(o => new ProductCategoryDto() { CategoryPSN = o.CategoryPSN, CategorySN = o.CategorySN, Grade = o.Grade, Title = o.Title }); return(result); }