public OrderImProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; _orderImFactory = new OrderImFactory(); }
public AccountSettingsProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; _accountSettingsFactory = new AccountSettingsFactory(); }
public ModuleProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; _modulePositionFactory = new ModulePositionFactory(); }
public GraphicProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; _graphicPositionFactory = new GraphicPositionFactory(); }
public AccountSettingsService(BPFinanceContext context, IOptions <AppParams> appParamsAccessor) { _context = context; var repository = new BPFinanceRepository(_context, appParamsAccessor.Value.EditUserId); _accountSettingsProcessor = new AccountSettingsProcessor(_context, repository); }
public RubricProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; _rubricPositionFactory = new RubricPositionFactory(); }
public OrderPositionDataProcessor(BPFinanceContext context, string orderImFolderTemplate, string dbName) { _context = context; var orderImFolder = string.Format(orderImFolderTemplate, dbName); _positionImGraphicsFolderPathTemplate = orderImFolder + "{0}\\{1}\\Graphics"; }
public AccountService(BPFinanceContext context, IOptions <AppSettings> appSettingsAccessor, IOptions <AppParams> appParamsAccessor) { _context = context; var repository = new BPFinanceRepository(_context, appParamsAccessor.Value.EditUserId); _businessUnitIds = appParamsAccessor.Value.BusinessUnitIds; var basketBusinessUnitIdProvider = new BasketBusinessUnitIdProvider(_context); _paymentInTimeDiscountProvider = new PaymentInTimeDiscountProvider(appParamsAccessor.Value.BusinessUnitSettings); _clientAccountProcessor = new ClientAccountProcessor( _context, repository); _accountSettingsProcessor = new AccountSettingsProcessor( _context, repository); _orderProcessor = new OrderProcesor( _context, repository, appParamsAccessor.Value.BasketOrderDescription, appParamsAccessor.Value.ManagerId, basketBusinessUnitIdProvider); var rubricProcessor = new RubricProcessor( _context, repository); var graphicProcessor = new GraphicProcessor( _context, repository); _orderImProcessor = new OrderImProcessor( _context, repository); var stringProcessor = new StringProcessor( _context, repository); var moduleProcessor = new ModuleProcessor( _context, repository); var moduleMaketProcessor = new ModuleMaketProcessor( appSettingsAccessor.Value.OrderImFolderTemplate, appSettingsAccessor.Value.DatabaseName); _positionImProcessor = new PositionImProcessor( _context, repository, _orderImProcessor, stringProcessor, moduleProcessor, moduleMaketProcessor); _orderPositionProcessor = new OrderPositionProcessor( _context, repository, rubricProcessor, graphicProcessor, _positionImProcessor, appParamsAccessor.Value.BasketOrderDescription); }
public ClientAccountProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; _accountFactory = new ClientAccountFactory(); _accountPositionFactory = new AccountPositionFactory(); _accountOrderFactory = new AccountOrderFactory(); }
public OrderPositionService(BPFinanceContext context, IOptions <AppSettings> appSettingsAccessor, IOptions <AppParams> appParamsAccessor) { _context = context; var repository = new BPFinanceRepository(_context, appParamsAccessor.Value.EditUserId); var orderImFolderTemplate = appSettingsAccessor.Value.OrderImFolderTemplate; var dbName = appSettingsAccessor.Value.DatabaseName; var basketBusinessUnitIdProvider = new BasketBusinessUnitIdProvider(_context); _orderPositionDataProcessor = new OrderPositionDataProcessor( _context, orderImFolderTemplate, dbName); _clientProcessor = new ClientProcessor( _context); _orderProcessor = new OrderProcesor( _context, repository, appParamsAccessor.Value.BasketOrderDescription, appParamsAccessor.Value.ManagerId, basketBusinessUnitIdProvider); var rubricProcessor = new RubricProcessor( _context, repository); var graphicProcessor = new GraphicProcessor( _context, repository); var orderImProcessor = new OrderImProcessor( _context, repository); var stringProcessor = new StringProcessor( _context, repository); var moduleProcessor = new ModuleProcessor( _context, repository); var moduleMaketProcessor = new ModuleMaketProcessor( appSettingsAccessor.Value.OrderImFolderTemplate, appSettingsAccessor.Value.DatabaseName); var positionImProcessor = new PositionImProcessor( _context, repository, orderImProcessor, stringProcessor, moduleProcessor, moduleMaketProcessor); _orderPositionProcessor = new OrderPositionProcessor( _context, repository, rubricProcessor, graphicProcessor, positionImProcessor, appParamsAccessor.Value.BasketOrderDescription); }
public PaymentProcessor( BPFinanceContext context, IBPFinanceRepository repository, int[] businessUnits) { _context = context; _repository = repository; _businessUnitIds = businessUnits; _orderPaymentFactory = new OrderPaymentFactory(); }
public SupplierService(BPFinanceContext context, IOptions <AppParams> appParamsAccessor) { _context = context; var repository = new BPFinanceRepository(_context, appParamsAccessor.Value.EditUserId); _handbookProcessor = new HandbookProcessor( _context, repository); _supplierIds = appParamsAccessor.Value.SupplierIds; _pricePermissionFlag = appParamsAccessor.Value.PricePermissionFlag; }
public StringService(BPFinanceContext context, IOptions <AppParams> appParamsAccessor) { _context = context; var repository = new BPFinanceRepository(_context, appParamsAccessor.Value.EditUserId); _stringProcessor = new StringProcessor( _context, repository); _handbookProcessor = new HandbookProcessor( _context, repository); }
public StringProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; _stringFactory = new StringPositionFactory(); _addressFactory = new AddressFactory(); _stringAddressFactory = new StringAddressFactory(); _stringOccurrenceFactory = new StringOccurrenceFactory(); _phoneFactory = new PhoneFactory(); _stringPhoneFactory = new StringPhoneFactory(); _emailFactory = new EmailFactory(); _stringWebFactory = new StringWebFactory(); }
public OrderProcesor( BPFinanceContext context, IBPFinanceRepository repository, string basketOrderDescription, int defaultOrderManagerId, IKeyedProvider <Tuple <int, int>, int> basketBusinessUnitIdProvider) { _context = context; _repository = repository; _basketOrderDescription = basketOrderDescription; _defaultOrderManagerId = defaultOrderManagerId; _basketBusinessUnitIdProvider = basketBusinessUnitIdProvider; _basketOrderFactory = new BasketOrderFactory(_basketOrderDescription); _clientOrderFactory = new ClientOrderFactory(); }
public OrderPositionProcessor( BPFinanceContext context, IBPFinanceRepository repository, IRubricProcessor rubricProcessor, IGraphicProcessor graphicProcessor, IPositionImProcessor positionImProcessor, string basketOrderDescription) { _context = context; _repository = repository; _rubricProcessor = rubricProcessor; _graphicProcessor = graphicProcessor; _positionImProcessor = positionImProcessor; _basketOrderDescription = basketOrderDescription; _orderPositionFactory = new OrderPositionFactory(); }
public PositionImProcessor( BPFinanceContext context, IBPFinanceRepository repository, IOrderImProcessor orderImProcessor, IStringProcessor stringProcessor, IModuleProcessor moduleProcessor, IModuleMaketProcessor moduleMaketProcessor) { _context = context; _repository = repository; _orderImProcessor = orderImProcessor; _stringProcessor = stringProcessor; _moduleProcessor = moduleProcessor; _moduleMaketProcessor = moduleMaketProcessor; _positionImFactory = new PositionImFactory(); }
public PaymentService(BPFinanceContext context, IOptions <AppParams> appParamsAccessor) { _context = context; var repository = new BPFinanceRepository(_context, appParamsAccessor.Value.EditUserId); var basketBusinessUnitIdProvider = new BasketBusinessUnitIdProvider(_context); _paymentProcessor = new PaymentProcessor( _context, repository, appParamsAccessor.Value.BusinessUnitIds); _orderProcessor = new OrderProcesor( _context, repository, appParamsAccessor.Value.BasketOrderDescription, appParamsAccessor.Value.ManagerId, basketBusinessUnitIdProvider); }
public InteractionBusinessUnitIdProvider(BPFinanceContext context) { _context = context; }
public BPFinanceRepository(BPFinanceContext context, int editUserId) { _context = context; _editUserId = editUserId; }
public BasketBusinessUnitIdProvider(BPFinanceContext context) { _interactionBusinessUnitIdProvider = new InteractionBusinessUnitIdProvider(context); _businessUnitByPriceIdProvider = new BusinessUnitIdByPriceIdProvider(context); }
public BusinessUnitIdByPriceIdProvider(BPFinanceContext context) { _context = context; }
public ClientProcessor(BPFinanceContext context) { _context = context; }
public HandbookProcessor(BPFinanceContext context, IBPFinanceRepository repository) { _context = context; _repository = repository; }
public UserService(IOptions <AppSettings> appSettings, BPFinanceContext context) { _appSettings = appSettings.Value; _context = context; }