Esempio n. 1
0
 public ProviderProcessor(IRepository providerRepository,
                          IProductsReferenceBuilder productsReferenceBuilder,
                          IMeasureUnitsReferenceBuilder measureUnitsReferenceBuilder,
                          ProductValidator productValidator)
 {
     repo = providerRepository;
     this.productsReferenceBuilder     = productsReferenceBuilder;
     this.measureUnitsReferenceBuilder = measureUnitsReferenceBuilder;
     this.productValidator             = productValidator;
 }
Esempio n. 2
0
 public ProviderProcessor()
 {
     repo             = new ProviderRepository();
     productValidator = new ProductValidator(GetProductsReferenceInstance(), GetMeasureUnitsReferenceInstance());
 }