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