Exemplo n.º 1
0
 public ImportsManager(ImportsService importService, ProvidersService providersManager, ProductsService productsService, ImportProductsService importProductsService) : base(importService)
 {
     _providersService      = providersManager;
     _productsService       = productsService;
     _importProductsService = importProductsService;
     _importService         = importService;
 }
Exemplo n.º 2
0
 public ProductsManager(ProductsService productsService,
                        ProductCategoriesService categoriesService,
                        ManufacturesService manufacturesService,
                        ProvidersService providersService) : base(productsService)
 {
     _productsService     = productsService;
     _categoriesService   = categoriesService;
     _manufacturesManager = manufacturesService;
     _providersManager    = providersService;
 }
Exemplo n.º 3
0
 public ProductsController()
 {
     this._productsService  = new ProductsService();
     this._providersService = new ProvidersService();
     this._locationService  = new LocationService();
 }
Exemplo n.º 4
0
 public ProvidersController()
 {
     this._productsService  = new ProductsService();
     this._providersService = new ProvidersService();
 }
Exemplo n.º 5
0
 public Providers(ProvidersService service)
 {
     _service = service;
 }
Exemplo n.º 6
0
 public ProvidersManager(ProvidersService providersService, ContactsService contactsManager, ImportsService importService) : base(providersService)
 {
     _providersService = providersService;
     _contactsService  = contactsManager;
     _importService    = importService;
 }
 public void SetUp()
 {
     providersService = new ProvidersService();
 }