public OrderAppService() { this.orderService = this.registrationServices.Instance.Container.Resolve <IOrderService>(); this.orderItemService = this.registrationServices.Instance.Container.Resolve <IOrderItemService>(); this.orderCustomerService = this.registrationServices.Instance.Container.Resolve <IOrderCustomerService>(); this.orderItemOrderService = this.registrationServices.Instance.Container.Resolve <IOrderItemOrderService>(); }
public AliPayController(IAlipayService alipayService, IOrderService orderService, IOrderItemService orderItemService, IOptions <AliPayConfig> aliPayConfig) { _alipayService = alipayService; _orderService = orderService; _orderItemService = orderItemService; _aliPayConfig = aliPayConfig; }
public HomeController(ILogger <HomeController> logger, IOrderService orderService, IProviderService providerService, IOrderItemService orderItemsService) { Logger = logger; OrderService = orderService; ProviderService = providerService; OrderItemsService = orderItemsService; }
public BaseTest() { DbContextOptionsBuilder <OrderDatabaseContext> orderBuilder = new DbContextOptionsBuilder <OrderDatabaseContext>(); var connectionString = "server=localhost;userid=root;password=123456;database=Product;"; orderBuilder.UseMySql(connectionString); //.UseInternalServiceProvider(serviceProvider); //burası postgress ile sıkıntı çıkartmıyor, fakat mysql'de çalışmıyor test esnasında hata veriyor. _orderDatabaseContext = new OrderDatabaseContext(orderBuilder.Options); //_context.Database.Migrate(); //Configuration iHttpContextAccessor = new HttpContextAccessor { HttpContext = new DefaultHttpContext() }; _orderSettings = Options.Create(new OrderSettings() { FileUploadFolderPath = @"C:\Users\haltunbas\Documents\GitHub\ProductV2\Product.Api\Product.Api\wwwroot\upload\" }); _orderService = new OrderService(_orderDatabaseContext, _orderSettings, iHttpContextAccessor); _orderItemService = new OrderItemService(_orderDatabaseContext, _orderSettings, iHttpContextAccessor); orderSchemaService = new OrderSchemaService(_orderDatabaseContext, _orderSettings, iHttpContextAccessor); _orderAddressService = new OrderAddressService(_orderDatabaseContext, _orderSettings, iHttpContextAccessor); }
public OrderItemsViewModel(IOrderItemService orderItemService, IOrderService orderService, ICommonServices commonServices) : base(commonServices) { OrderItemService = orderItemService; OrderItemList = new OrderItemListViewModel(OrderItemService, commonServices); OrderItemDetails = new OrderItemDetailsViewModel(OrderItemService, commonServices); }
public PostController( IPostService postService , IMenuLinkService menuLinkService , IAttributeValueService attributeValueService , IGalleryService galleryService , IImageService imageService , IAttributeService attributeService , ILanguageService languageService , ILocalizedPropertyService localizedPropertyService , IPostGalleryService postGalleryService , IGenericControlService genericControlService , ICacheManager cacheManager , IManufacturerService manufacturerService , IOrderItemService orderItemService , ISettingService settingService) : base(cacheManager) { _postService = postService; _menuLinkService = menuLinkService; _attributeValueService = attributeValueService; _galleryService = galleryService; _imageService = imageService; _attributeService = attributeService; _languageService = languageService; _localizedPropertyService = localizedPropertyService; _postGalleryService = postGalleryService; _manufacturerService = manufacturerService; _orderItemService = orderItemService; _settingService = settingService; //Clear cache cacheManager.RemoveByPattern(CachePostKey); }
public OrderController(IOrderService orderService, ICustomerService customerService, IProductService productService, IOrderItemService orderItemService) { this.orderService = orderService; this.productService = productService; this.customerService = customerService; this.orderItemService = orderItemService; }
public OrderService(IOrderRepository OrderRepository, IStockService stockService, IProductService productService, IOrderItemService orderItemService) { _OrderRepository = OrderRepository; _stockService = stockService; _productService = productService; _orderItemService = orderItemService; }
public OrderItemsController( IOrderItemService orderItemService, ICreateOrderItemService createOrderItemService) { this.orderItemService = orderItemService ?? throw new ArgumentNullException(nameof(orderItemService)); this.createOrderItemService = createOrderItemService ?? throw new ArgumentNullException(nameof(createOrderItemService)); }
public PublisherController(IProductService productService, IBlogService blogService, IWebsiteAttributeService websiteAttributeService, IBlogCategoryService blogCategoryService, IStaffService staffService, IProductAttributeMappingService productAttributeMappingService, IProductRelationshipService productRelationshipService, IProductScheduleService productScheduleService, IOrderService orderService, IOrderItemService orderItemService, IOrderAttributeService orderAttributeService, IOrderAttributeMappingService orderAttributeMappingService, IAdService adService, IAdMaterialMappingService adMaterialService, IMaterialService materialService, IDomainService domainService, ICodeService codeService) { this._productService = productService; this._blogService = blogService; this._websiteAttributeService = websiteAttributeService; this._blogCategoryService = blogCategoryService; this._staffService = staffService; this._productAttributeMappingService = productAttributeMappingService; this._productRelationshipService = productRelationshipService; this._productScheduleService = productScheduleService; this._orderService = orderService; this._orderAttributeService = orderAttributeService; this._orderAttributeMappingService = orderAttributeMappingService; this._adService = adService; this._adMaterialMappingService = adMaterialService; this._materialService = materialService; this._domainService = domainService; this._codeService = codeService; }
public DeleteOrderCommand(long orderID, IOrderDataProxy orderDataProxy, IOrderItemService orderItemService, ITransactionContext transactionContext) { _orderID = orderID; _orderDataProxy = orderDataProxy; _orderItemService = orderItemService; _transactionContext = transactionContext; }
public string _orderNum; //单号 public OutStorage() { InitializeComponent(); _stockService = new StockService(); _orderItemService = new OrderItemService(); }
public DeleteOrderCommand(long orderID, IOrderDataProxy orderDataProxy, IOrderItemService orderItemService, ITransactionContext transactionContext) { _orderID = orderID; _orderDataProxy = orderDataProxy; _orderItemService = orderItemService; _transactionContext = transactionContext; }
public OrderItemViewModel(IOrderItemService CurrentService, BackendDBContext context, IMapper Mapper) { this.CurrentService = CurrentService; this.context = context; mapper = Mapper; OrderItemSort.Initialization(SortConditions); Toolbaritems.Add(new ItemModel() { Id = ButtonIdHelper.ButtonIdAdd, Text = "新增", TooltipText = "新增", Type = ItemType.Button, PrefixIcon = "mdi mdi-plus-thick", Align = ItemAlign.Left, }); Toolbaritems.Add(new ItemModel() { Id = ButtonIdHelper.ButtonIdRefresh, Text = "重新整理", TooltipText = "重新整理", PrefixIcon = "mdi mdi-refresh", Align = ItemAlign.Left, }); Toolbaritems.Add("Search"); }
public ReportsController(IOrderService orderService, IOrderItemService orderItemService, IProductService productService) { _orderService = orderService; _orderItemService = orderItemService; _productService = productService; }
public AdminViewModelService(IOrderItemService orderItemService, IOrderService orderService, UserManager <AppUser> userManager) { _orderItemService = orderItemService; _orderService = orderService; _userManager = userManager; }
public AliPayController(IAlipayService alipayService, IOrderService orderService, IOrderItemService orderItemService) { _alipayService = alipayService; _orderService = orderService; _orderItemService = orderItemService; }
public OrdersController(IOrderService service, IOrderItemService orderItemService, ICustomerService customerService, IProductService productService) : base(service) { _orderItemService = orderItemService; _customerService = customerService; _productService = productService; }
public OrderController(IOrderService orderService, IMenuLinkService menuLinkService, IAttributeValueService attributeValueService, IOrderGalleryService galleryService, IImagePlugin imagePlugin, IBrandService brandService, IOrderItemService orderItemService) { this._orderService = orderService; this._menuLinkService = menuLinkService; this._galleryService = galleryService; this._imagePlugin = imagePlugin; this._brandService = brandService; this._orderItemService = orderItemService; }
public TableItemController(ITableService tableService, IOrderService orderService, IOrderItemService orderItemService, IUserService userService, IProductService productService, ITableItemService tableItemService) { this.tableService = tableService; this.orderService = orderService; this.orderItemService = orderItemService; this.userService = userService; this.productService = productService; this.tableItemService = tableItemService; }
public CartController( IOrderService orderService, IOrderItemService orderItemService, IUnitOfWork uow) { _orderService = orderService; _orderItemService = orderItemService; _uow = uow; }
public OrderController(IOrderService orderService, IOrderItemService orderItemService, IShoppingCartService shoppingCartService, IMapper mapper, ShoppingCartSession session, ICustomerService customerService) { _orderService = orderService; _orderItemService = orderItemService; _shoppingCartService = shoppingCartService; _mapper = mapper; Session = session; _customerService = customerService; }
public AdminOrderDetailsViewModel(IOrderItemService orderItemService, IProductService productService, IMessegeManager messageManager) { this.orderItemService = orderItemService; this.productService = productService; this.messageService = messageManager; OrderItems = new ObservableCollection <CheckableItem <OrderItemDto> >(); collectionView = CollectionViewSource.GetDefaultView(OrderItems); collectionView.Filter = SearchFilter; }
public OrderItemsController(IOrderItemService service, ICategoryService categoryService, IProductService productService, IInventoryItemService inventoryService) : base(service) { _categoryService = categoryService; _productService = productService; _inventoryService = inventoryService; }
public OrderItemRazorModel(IOrderItemService CurrentService, SchoolContext context, IMapper Mapper) { this.CurrentService = CurrentService; this.context = context; mapper = Mapper; OrderItemSort.Initialization(SortConditions); }
public OrderAccountant(IWarehouseInventoryService warehouseInventoryService, IOrderFulfillmentService orderFulfillmentService, ITokenGenerator tokenGenerator, OrderSettings orderSettings, IOrderService orderService, IOrderItemService orderItemService, IPaymentProcessor paymentProcessor) { _warehouseInventoryService = warehouseInventoryService; _orderFulfillmentService = orderFulfillmentService; _tokenGenerator = tokenGenerator; _orderSettings = orderSettings; _orderService = orderService; _orderItemService = orderItemService; _paymentProcessor = paymentProcessor; }
public AliPayController(IAlipayService alipayService, IOrderService orderService, IOrderItemService orderItemService, IDataArchivedService dataArchivedService) { _alipayService = alipayService; _orderService = orderService; _orderItemService = orderItemService; _dataArchivedService = dataArchivedService; }
public OrderService(IApplicationContext applicationContext, IOrderItemService orderItemService, IEnumerable <IPaymentService> paymentServices, ILocalize localize, CMSDbContext dbContext) : base(applicationContext, dbContext) { _orderItemService = orderItemService; _paymentServices = paymentServices; _localize = localize; }
public OrderFacade(IUnitOfWork unitOfWork, IOrderEmailService orderEmailService, IErrorLogService errorLogService, IOrderItemService orderItemService) { _unitOfWork = unitOfWork; _orderEmailService = orderEmailService; _errorLogService = errorLogService; _orderItemService = orderItemService; }
public OrderController( IItemService itemService, IOrderItemService orderItemService, IOrderService orderService ) { this._itemService = itemService; this._orderItemService = orderItemService; this._orderService = orderService; }
public AliPayController(IAlipayService alipayService, IOrderService orderService, IOrderItemService orderItemService, IHostOptionProvider hostOptionProvider) { _alipayService = alipayService; _orderService = orderService; _orderItemService = orderItemService; _hostOptionProvider = hostOptionProvider; }
public ValidOrderStatusForUpdateRule(long orderID, IOrderItemService orderItemDataProxy) { _orderID = orderID; _orderItemDataProxy = orderItemDataProxy; }