public ExportManager(ICategoryService categoryService, IProductPriceService priceService, IInventoryService inventoryService, IWorkContext workContext) { this.categoryService = categoryService; this.productPriceService = priceService; this.inventoryService = inventoryService; this.workContext = workContext; }
public CashierDeskController( ILoggerFactory loggerFactory, IStoreCashRegisterService storeCashRegisterService, IStoreScalesService storeScaleService, IProductPriceService productPriceService, ICurrentPricesService currentPriceService, IStoreService storeService, IProductService productService, ICashierService cashierService, IProductCategoryService productCategoryService, ISubgroupService subgroupService ) { _logger = loggerFactory.GetLogger(typeof(CashierDeskController)); _storeCashRegisterService = storeCashRegisterService; _storeScaleService = storeScaleService; _productPriceService = productPriceService; _currentPriceService = currentPriceService; _storeService = storeService; _productService = productService; _cashierService = cashierService; _productCategoryService = productCategoryService; _subgroupService = subgroupService; }
public AddressesController( IOrderService orderService, IPosServiceIntegration posServiceIntegration, IPaymentService paymentService, IShoppingCart shoppingCart, IOrchardServices orchardServices, ICurrencyProvider currencyProvider, INwazetCommunicationService nwazetCommunicationService, IWorkContextAccessor workContextAccessor, IShapeFactory shapeFactory, ITransactionManager transactionManager, IContentManager contentManager, INotifier notifier, IProductPriceService productPriceService) { _orderService = orderService; _posServiceIntegration = posServiceIntegration; _paymentService = paymentService; _shoppingCart = shoppingCart; _orchardServices = orchardServices; _currencyProvider = currencyProvider; _nwazetCommunicationService = nwazetCommunicationService; _workContextAccessor = workContextAccessor; _shapeFactory = shapeFactory; _transactionManager = transactionManager; _contentManager = contentManager; _notifier = notifier; _productPriceService = productPriceService; T = NullLocalizer.Instance; }
public ProductUnitsController() { var dbfactory = new DatabaseFactory(); _ProductUnitService = new ProductUnitService(new ProductUnitRepository(dbfactory), new UnitOfWork(dbfactory)); _unitOfMeasurementService = new UnitOfMeasurementService(new UnitOfMeasurementRepository(dbfactory), new UnitOfWork(dbfactory)); _ProductPriceService = new ProductPriceService(new ProductPriceRepository(dbfactory), new UnitOfWork(dbfactory)); }
public CartService(ICartRepository cartRepository, IProductPriceService productPriceService, IProductCartService productCartService) { _cartRepository = cartRepository; _productPriceService = productPriceService; _productCartService = productCartService; }
public ApiAccountSyncController(ITerminalServices terminalServices, ITenantLocationServices tenantLocationServices, IOrderService orderService, IProductServices productServices, IUserService userService, IAccountServices accountServices, IProductPriceService productPriceService) : base(terminalServices, tenantLocationServices, orderService, productServices, userService) { _accountServices = accountServices; _productPriceService = productPriceService; }
public AddressesController( IOrderService orderService, IPaymentService paymentService, IShoppingCart shoppingCart, IOrchardServices orchardServices, ICurrencyProvider currencyProvider, INwazetCommunicationService nwazetCommunicationService, IWorkContextAccessor workContextAccessor, IShapeFactory shapeFactory, ITransactionManager transactionManager, IContentManager contentManager, INotifier notifier, IProductPriceService productPriceService, IAddressConfigurationService addressConfigurationService, IEnumerable <IOrderAdditionalInformationProvider> orderAdditionalInformationProviders, IEnumerable <IValidationProvider> validationProvider) { _orderService = orderService; _paymentService = paymentService; _shoppingCart = shoppingCart; _orchardServices = orchardServices; _currencyProvider = currencyProvider; _nwazetCommunicationService = nwazetCommunicationService; _workContextAccessor = workContextAccessor; _shapeFactory = shapeFactory; _transactionManager = transactionManager; _contentManager = contentManager; _notifier = notifier; _productPriceService = productPriceService; _addressConfigurationService = addressConfigurationService; _orderAdditionalInformationProviders = orderAdditionalInformationProviders; _validationProvider = validationProvider; T = NullLocalizer.Instance; }
public ProductPriceController(IEmployeeService employeeService, IProductPriceService productPriceService , IProductService productService) : base(employeeService) { this._productPriceService = productPriceService; this._productService = productService; this._employeeService = employeeService; }
public ProductPriceForm(PurchaseReceiveDetailModel purchaseReceiveDetail) { InitializeComponent(); IKernel kernel = BootStrapper.Initialize(); _productPriceService = kernel.GetService(typeof(ProductPriceService)) as ProductPriceService; _purchaseReceiveDetail = purchaseReceiveDetail; }
public InvoiceController(IProductServices productServices, ISalesOrderService salesOrderService, ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, ILookupServices lookupServices, IAppointmentsService appointmentsService, IGaneConfigurationsHelper configurationsHelper, IEmailServices emailServices, ITenantLocationServices tenantLocationservices, ITenantsServices tenantsServices, IProductPriceService priceService, IGaneConfigurationsHelper helper, IInvoiceService invoiceService) : base(orderService, propertyService, accountServices, lookupServices, appointmentsService, configurationsHelper, emailServices, tenantLocationservices, tenantsServices) { _priceService = priceService; _helper = helper; _productServices = productServices; _invoiceService = invoiceService; }
public ProductVatConfigurationPartDriver( IVatConfigurationService vatConfigurationService, IVatConfigurationProvider vatConfigurationProvider, IProductPriceService productPriceService) { _vatConfigurationService = vatConfigurationService; _vatConfigurationProvider = vatConfigurationProvider; _productPriceService = productPriceService; }
public PriceProcessWorker( ILoggerFactory loggerFactory, IDictionary <string, string> parameters, string name, IProductPriceService productPriceService, IStoreCashRegisterService cashRegisterService) : base(loggerFactory, parameters, name) { _productPriceService = productPriceService; _cashRegisterService = cashRegisterService; }
public ProductPricesController( IProductPriceService productPriceService, ILogger logger) { this.productPriceService = productPriceService; this.logger = logger; this.logger.Trace("Call ProductPricesController"); }
public GTMProductService( IOrchardServices orchardServicies, ITokenizer tokenizer, IProductPriceService productPriceService) { _orchardServices = orchardServicies; _tokenizer = tokenizer; _productPriceService = productPriceService; }
public SearchController() { catalogService = ServiceLocator.Current.GetInstance <ICatalogService>(); productService = ServiceLocator.Current.GetInstance <IProductService>(); productDetailService = ServiceLocator.Current.GetInstance <IProductDetailService>(); priceService = ServiceLocator.Current.GetInstance <IProductPriceService>(); imageService = ServiceLocator.Current.GetInstance <IImageService>(); userService = ServiceLocator.Current.GetInstance <IUserService>(); historyService = ServiceLocator.Current.GetInstance <IHistoryService>(); }
public OrderDetailController(ICoreOrderService orderService, IPropertyService propertyService, IAccountServices accountServices, ILookupServices lookupServices, IStockTakeApiService stockTakeApiService, ICommonDbServices commonDbServices, IProductServices productServices, ITenantLocationServices tenantLocationServices, IProductPriceService productPriceService) : base(orderService, propertyService, accountServices, lookupServices) { StockTakeApiService = stockTakeApiService; _commonDbServices = commonDbServices; _productServices = productServices; _tenantLocationServices = tenantLocationServices; _productPriceService = productPriceService; _orderService = orderService; }
public GetProductInfoHandler( IRepository <ProductEntity> productRepository, IRepository <CampaignEntity> campaignRepository, ITimeService timeService, IProductPriceService productPriceService) { _productRepository = productRepository; _campaignRepository = campaignRepository; _timeService = timeService; _productPriceService = productPriceService; }
public ProductPriceServiceTest() { var dbContext = Db.GetContext(); _repository = new Repository(dbContext); _productPriceService = new ProductPriceService(_repository); CreateProduct(); CreateProduct(); CreateProduct(); }
public SalesController(UserManager <User> userManager) { _userManager = userManager; orderService = ServiceLocator.Current.GetInstance <IOrderService>(); orderDetailService = ServiceLocator.Current.GetInstance <IOrderDetailService>(); productService = ServiceLocator.Current.GetInstance <IProductService>(); productDetailService = ServiceLocator.Current.GetInstance <IProductDetailService>(); productPriceService = ServiceLocator.Current.GetInstance <IProductPriceService>(); productTypeService = ServiceLocator.Current.GetInstance <IProductTypeService>(); imageService = ServiceLocator.Current.GetInstance <IImageService>(); }
public GTMProductService( IOrchardServices orchardServicies, ITokenizer tokenizer, IProductPriceService productPriceService, IGDPRScript gdprScriptService, IWorkContextAccessor workContextAccessor) { _orchardServices = orchardServicies; _tokenizer = tokenizer; _productPriceService = productPriceService; _gdprScriptService = gdprScriptService; _workContextAccessor = workContextAccessor; }
public ProductsController( IProductRepository productRepository, IProductPriceService productPriceService, IProductCategoryService productCategoryService , ILogger logger ) { this.productRepository = productRepository; this.productPriceService = productPriceService; this.productCategoryService = productCategoryService; this.logger = logger; this.logger.Trace("Call ProductsController"); }
public HomeController(UserManager <User> userManager) { productService = ServiceLocator.Current.GetInstance <IProductService>(); productDetailService = ServiceLocator.Current.GetInstance <IProductDetailService>(); imageService = ServiceLocator.Current.GetInstance <IImageService>(); priceService = ServiceLocator.Current.GetInstance <IProductPriceService>(); productTypeService = ServiceLocator.Current.GetInstance <IProductTypeService>(); cartService = ServiceLocator.Current.GetInstance <ICartService>(); cartDetailService = ServiceLocator.Current.GetInstance <ICartDetailService>(); rateService = ServiceLocator.Current.GetInstance <IRateService>(); userService = ServiceLocator.Current.GetInstance <IUserService>(); commonService = ServiceLocator.Current.GetInstance <ICommonService>(); this.userManager = userManager; }
public HistoryController(IHostingEnvironment env, UserManager <User> userManager, RoleManager <IdentityRole> roleManager) { _env = env; this.userManager = userManager; this.roleManager = roleManager; catalogService = ServiceLocator.Current.GetInstance <ICatalogService>(); productService = ServiceLocator.Current.GetInstance <IProductService>(); detailService = ServiceLocator.Current.GetInstance <IProductDetailService>(); priceService = ServiceLocator.Current.GetInstance <IProductPriceService>(); imageService = ServiceLocator.Current.GetInstance <IImageService>(); userService = ServiceLocator.Current.GetInstance <IUserService>(); historyService = ServiceLocator.Current.GetInstance <IHistoryService>(); }
public OrderController(UserManager <User> userManager, RoleManager <IdentityRole> roleManager) { this.userManager = userManager; this.roleManager = roleManager; productService = ServiceLocator.Current.GetInstance <IProductService>(); productDetailService = ServiceLocator.Current.GetInstance <IProductDetailService>(); priceService = ServiceLocator.Current.GetInstance <IProductPriceService>(); imageService = ServiceLocator.Current.GetInstance <IImageService>(); userService = ServiceLocator.Current.GetInstance <IUserService>(); historyService = ServiceLocator.Current.GetInstance <IHistoryService>(); productTypeService = ServiceLocator.Current.GetInstance <IProductTypeService>(); orderService = ServiceLocator.Current.GetInstance <IOrderService>(); orderDetailService = ServiceLocator.Current.GetInstance <IOrderDetailService>(); }
public OrderServiceTest() { IEsnecilGeneratorResource esnecilGeneratorFile = new EsnecilGeneratorFile(); var dbContext = Db.GetContext(); _repository = new Repository(dbContext); _invoiceManager = new InvoiceManager(_repository); _esnecilGenerator = new TrialEsnecilGenerator(esnecilGeneratorFile); _orderService = new OrderService(_repository, _invoiceManager, _esnecilGenerator); _productPriceService = new ProductPriceService(_repository); //CreateOrder(); CreateProducts(); CreateProductPrices(); }
public CheckOutController(UserManager <User> userManager, IHubContext <ChatHub> hubContext, IHostingEnvironment hostingEnvironment) { provinceService = ServiceLocator.Current.GetInstance <IProvinceService>(); districtService = ServiceLocator.Current.GetInstance <IDistrictService>(); wardService = ServiceLocator.Current.GetInstance <IWardService>(); orderService = ServiceLocator.Current.GetInstance <IOrderService>(); orderDetailService = ServiceLocator.Current.GetInstance <IOrderDetailService>(); productService = ServiceLocator.Current.GetInstance <IProductService>(); productDetailService = ServiceLocator.Current.GetInstance <IProductDetailService>(); priceService = ServiceLocator.Current.GetInstance <IProductPriceService>(); productTypeService = ServiceLocator.Current.GetInstance <IProductTypeService>(); cartDetailService = ServiceLocator.Current.GetInstance <ICartDetailService>(); emailService = ServiceLocator.Current.GetInstance <IEmailService>(); this.userManager = userManager; _hubContext = hubContext; _hostingEnvironment = hostingEnvironment; }
public OrderLinesController( IOrderRepository orderRepository, IOrderLineRepository orderLineRepository, IProductRepository productRepository, IUomRepository uomRepository, IProductPriceService productPriceRepository, ILogger logger) { this.orderRepository = orderRepository; this.orderLineRepository = orderLineRepository; this.productRepository = productRepository; this.productPriceRepository = productPriceRepository; this.uomRepository = uomRepository; this.logger = logger; this.logger.Trace("Call OrderLineController"); }
public OrderController( IPermissionService permissionService, IStoreService storeService, IProductService productService, IOrderService orderService, IProductPriceService productPriceService, IInventoryService inventoryService, IWorkContext workContext ) { this.permissionService = permissionService; this.storeService = storeService; this.productService = productService; this.orderService = orderService; this.productPriceService = productPriceService; this.inventoryService = inventoryService; this.workContext = workContext; }
public ProductController( IPermissionService permissionService, ICategoryService categoryService, IProductService productService, IStoreService storeService, IProductPriceService productPriceService, IInventoryService inventoryService, IDateTimeHelper dateTimeHelper, IExportManager exportManager) { this.permissionService = permissionService; this.categoryService = categoryService; this.productService = productService; this.storeService = storeService; this.productPriceService = productPriceService; this.inventoryService = inventoryService; this.dateTimeHelper = dateTimeHelper; this.exportManager = exportManager; }
public CheckoutHelperService( IShoppingCart shoppingCart, IProductPriceService productPriceService, IContentManager contentManager, IOrderService orderService, IWorkContextAccessor workContextAccessor, ICurrencyProvider currencyProvider, IEnumerable <IOrderAdditionalInformationProvider> orderAdditionalInformationProviders, Lazy <IEnumerable <ICheckoutCondition> > checkoutConditions) { _shoppingCart = shoppingCart; _productPriceService = productPriceService; _contentManager = contentManager; _orderService = orderService; _workContextAccessor = workContextAccessor; _currencyProvider = currencyProvider; _orderAdditionalInformationProviders = orderAdditionalInformationProviders; _checkoutConditions = checkoutConditions; }
public ProductsController( IProductRepository productRepository, IProductPriceService productPriceService, IProductCategoryService productCategoryService, ILinkRepository linkRepository, IProductSpecificationRepository productSpecificationRepository, IUomRepository uomRepository, ILogger logger ) { this.productRepository = productRepository; this.productPriceService = productPriceService; this.productCategoryService = productCategoryService; this.linkRepository = linkRepository; this.productSpecificationRepository = productSpecificationRepository; this.uomRepository = uomRepository; this.logger = logger; this.logger.Trace("Call ProductsController"); }
public ProductPriceController() { var dbfactory = new DatabaseFactory(); _productPriceService = new ProductPriceService(new ProductPriceRepository(dbfactory), new UnitOfWork(dbfactory)); }
public ChartOfProductController() { var dbfactory = new DatabaseFactory(); _ChartOfProductService = new ChartOfProductService(new ChartOfProductRepository(dbfactory), new UnitOfWork(dbfactory)); _ProductPriceService = new ProductPriceService(new ProductPriceRepository(dbfactory), new UnitOfWork(dbfactory)); }