public static IEnumerable <ProductionDto.ProductCategory> GetAll(IDomainAccess ds)
 {
     return(ds.Query <ProductCategory>().MakeCacheable().ToList()
            .Select(x => new ProductionDto.ProductCategory {
         Id = x.ProductCategoryId, Name = x.ProductCategoryName
     }));
 }
 public static IEnumerable<ProductionDto.ProductCategory> GetAll(IDomainAccess ds)
 {
     return ds.Query<ProductCategory>().MakeCacheable().ToList()
         .Select(x => new ProductionDto.ProductCategory { Id = x.ProductCategoryId, Name = x.ProductCategoryName }); 
 }