public CategoryService(IBusinessRepository brepo, IImageRepository _imgRepo, IProductService _productService, IFoldersDataService _foldersDs) { businessRepo = brepo; imgRepo = _imgRepo; productService = _productService; foldersDs = _foldersDs; }
public TestBase() { connFactory = new Neo4jConnectionFactory(); paths = new PathsDataService(connFactory); folders = new FoldersDataService(connFactory, paths); workflows = new WorkflowService(AssemblyDirectory + "\\" + ConfigurationManager.AppSettings["WorkflowFolder"], new Guid(ConfigurationManager.AppSettings["WorkflowStoreId"]), connFactory); documentFiles = new DocumentFilesDataService(connFactory, paths); documentsWorkflows = new DocumentsWorkflowsService(connFactory, workflows, documentFiles); documents = new DocumentsDataService(connFactory, paths, documentsWorkflows); connFactory.InitAndEraseAll(); }
public ProductService(IShopRepository _shopRepo, IBusinessRepository _businessRepo, IImageRepository _imgRepo, IPictureWareHouse _dbBase, IProductRepository _prodRepo, IUnitRepository _unitRepo, IPriceRepository _priceRepo, ICostRepository _costRepo, IStockRepository _stockRepo, IOrdersRepository ordersRepository, IStrategy _strategy, IFoldersDataService _foldersDataService) { this._shopRepo = _shopRepo; this._businessRepo = _businessRepo; this._imgRepo = _imgRepo; this._prodRepo = _prodRepo; this._unitRepo = _unitRepo; this._priceRepo = _priceRepo; this._costRepo = _costRepo; this._stockRepo = _stockRepo; _ordersRepo = ordersRepository; this._strategy = _strategy; this._dbBase = _dbBase; this._foldersDataService = _foldersDataService; this._dbBase.GeneratedAuthenticationURL(); this._dbBase.GenerateAccessToken(); _productDataService = new ProductDataService(this._dbBase); }
public FoldersController(IFoldersDataService folders) { this.folders = folders; }
public FoldersController(IFoldersDataService _foldersDataService, IUserRepository _userRepo, ICategoryService _categoryService) { foldersDataService = _foldersDataService; userRepo = _userRepo; categoryService = _categoryService; }