예제 #1
0
        public static IEnumerable <IMaterial> SelectAll()
        {
            var materialList        = MaterialAdapter.CreateMaterials(ProductClient.GetMaterials());
            var projectSpecificList = MaterialAdapter.CreateMaterials(ProjectClient.GetMaterials(GetDefaultProjectId()));

            return(materialList.Concat(projectSpecificList));
        }
예제 #2
0
 public static IEnumerable <IMaterial> SelectAllProjectSpecifics() => MaterialAdapter.CreateMaterials(ProjectClient.GetMaterials(GetDefaultProjectId()));
예제 #3
0
 public static IEnumerable <IMaterial> SelectAllMaterials() => MaterialAdapter.CreateMaterials(ProductClient.GetMaterials());