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 TestController() { var baseUrl = ConfigurationManager.AppSettings[""]; var merchantId = ConfigurationManager.AppSettings[""]; var publicKey = ConfigurationManager.AppSettings[""]; _cashierService = new CashierService(baseUrl, merchantId, publicKey, "", TimeSpan.FromSeconds(5)); }
public CashierServiceController(ICashierService service, IMessageQueueService messageQueueService, IOptions <ApplicationSettings> settings) { _settings = settings; _service = service; _messageQueue = messageQueueService; }
public CashierServiceControllerTest() { var configuration = new ConfigurationBuilder() .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("appsettings.json", false) .Build(); _settings = Options.Create(configuration.GetSection("ApplicationSettings").Get <ApplicationSettings>()); _service = new CashierServiceFake(_settings); _messageQueue = new MessageQueueServiceFake(); _controller = new CashierServiceController(_service, _messageQueue, _settings); }
public OverStoreController( ILoggerFactory loggerFactory, IDataUploadService dataUploadService, IParameterReader parameterReader, IUploadTypeService uploadTypeService, IStatusService statusService, //IPackageDetailService packageDetailService, IStoreCashRegisterService storeCashRegisterService, IStoreScalesService storeScaleService, IProductPriceService productPriceService, ICurrentPricesService currentPriceService, IStoreService storeService, IProductService productService, ICashierService cashierService, IStorageZonesService storageZonesService, IStockTakingScheduleService stockTakingScheduleService, IStockTakingService stockTakingService, IStoreOrderService storeOrderService ) { _logger = loggerFactory.GetLogger(typeof(OverStoreController)); _dataUploadService = dataUploadService; _parameterReader = parameterReader; _uploadTypeService = uploadTypeService; _statusService = statusService; //_packageDetailService = packageDetailService; _storeCashRegisterService = storeCashRegisterService; _storeScaleService = storeScaleService; _productPriceService = productPriceService; _currentPriceService = currentPriceService; _storeService = storeService; _productService = productService; _cashierService = cashierService; _storageZonesService = storageZonesService; _stockTakingScheduleService = stockTakingScheduleService; _stockTakingService = stockTakingService; _storeOrderService = storeOrderService; }
public CustomerService(ICashierService cashierService) { _cashierService = cashierService; }
public CashiersController(ICashierService cashierService) { _cashierService = cashierService; }
public TestController(ICashierService cashierService) { _cashierService = cashierService; }
public TestController(ICashierService cashierService, ITransferService transferService) { _cashierService = cashierService; _transferService = transferService; }
public CashierHub(IOrderService orderService, ICashierService cashierService) { _orderService = orderService; _cashierService = cashierService; }