Пример #1
0
 public GoodAppService(
     GoodManager goodManager,
     ChannelManager channelManager,
     AppManager appManager
     )
 {
     _goodManager    = goodManager;
     _channelManager = channelManager;
     _appManager     = appManager;
 }
Пример #2
0
 /// <summary>
 /// Initializating managers and uOw
 /// </summary>
 public TaskExecuter()
 {
     uOw               = new UnitOfWork();
     elasticuOw        = new ElasticUnitOfWork();
     parsermanager     = new ParserTaskManager(uOw);
     propmanager       = new PropertyManager(uOw);
     goodManager       = new GoodManager(uOw);
     urlManager        = new URLManager(uOw);
     htmlValidator     = new HtmlValidator();
     priceManager      = new PriceManager(uOw);
     elasticManager    = new ElasticManager(elasticuOw);
     goodwizardManager = new GoodDatabasesWizard(elasticuOw, uOw);
     taskinfoManager   = new ExecuteManager(uOw);
 }
 public GoodController(GoodManager goodManager)
 {
     _goodManager = goodManager;
 }