Esempio n. 1
0
 public long SaveType(IProductType modifiedInstance)
 {
     ValidateHealthState();
     return(ProductManager.SaveType(modifiedInstance));
 }
Esempio n. 2
0
 public IProductType LoadType(ProductIdentity identity)
 {
     ValidateHealthState();
     return(ProductManager.LoadType(identity));
 }
Esempio n. 3
0
 public IProductType Duplicate(IProductType template, ProductIdentity newIdentity)
 {
     ValidateHealthState();
     return(ProductManager.Duplicate((ProductType)template, newIdentity));
 }
Esempio n. 4
0
 public void SaveInstances(ProductInstance[] productInstance)
 {
     ValidateHealthState();
     ProductManager.SaveInstances(productInstance);
 }
Esempio n. 5
0
 public IReadOnlyList <IProductType> LoadTypes(ProductQuery query)
 {
     ValidateHealthState();
     return(ProductManager.LoadTypes(query));
 }
Esempio n. 6
0
 public ProductInstance CreateInstance(IProductType productType, bool save)
 {
     ValidateHealthState();
     return(ProductManager.CreateInstance(productType, save));
 }
Esempio n. 7
0
 public ProductInstance GetInstance(long id)
 {
     ValidateHealthState();
     return(ProductManager.GetInstances(id).SingleOrDefault());
 }
Esempio n. 8
0
 public Task <ProductImportResult> Import(string importerName, object parameters)
 {
     ValidateHealthState();
     return(ProductManager.Import(importerName, parameters));
 }
Esempio n. 9
0
 public IReadOnlyList <IProductType> ImportTypes(string importerName, IImportParameters parameters)
 {
     ValidateHealthState();
     return(ProductManager.ImportTypes(importerName, parameters));
 }
Esempio n. 10
0
 public IProductType LoadType(long id)
 {
     ValidateHealthState();
     return(ProductManager.LoadType(id));
 }
Esempio n. 11
0
 public IEnumerable <ProductInstance> GetInstances(int state)
 {
     ValidateHealthState();
     return(ProductManager.GetInstances(state));
 }
Esempio n. 12
0
 public ProductInstance GetInstance(long id)
 {
     ValidateHealthState();
     return(ProductManager.GetInstance(id));
 }