Пример #1
0
 public SubscriptionController(ISubscriptionService <Subscription> subscriptionService,
                               IOrderProductService <Order> orderProductService, IProductService <Product> productService)
 {
     _subscriptionService = subscriptionService;
     _orderProductService = orderProductService;
     _productService      = productService;
 }
Пример #2
0
 public ManagerCustomerOrderController(ICustomerOrderService customer_orderservice, ICustomerService customerservice, IOrderProductService order_productservice, IMapper mapper)
 {
     this._customer_orderservice = customer_orderservice;
     this._customerservice       = customerservice;
     this._mapper = mapper;
     this._order_productservice = order_productservice;
 }
 public BraintreePaymentMethodService(IOptionsSnapshot <BraintreeConfiguration> options, IOrderProductService <Order> orderProductService, IPaymentService paymentService, IUserManager <GearUser> userManager)
 {
     _options             = options;
     _orderProductService = orderProductService;
     _paymentService      = paymentService;
     _userManager         = userManager;
 }
 public ShipmentService(
     IProductCategoryService testProductCategoryService,
     IOrderProductService testOrderProductService)
 {
     _testProductCategoryService = testProductCategoryService;
     _testOrderProductService    = testOrderProductService;
 }
 public OrdersController(IOrderProductService testOrderProductService,
                         IOrderService testOrderService,
                         IShipmentService shipmentService)
 {
     _testOrderProductService = testOrderProductService;
     _testOrderService        = testOrderService;
     _shipmentService         = shipmentService;
 }
Пример #6
0
 public SubscriptionService(IUserManager <GearUser> userManager, ISubscriptionDbContext subscriptionDbContext, IOrderProductService <Order> orderService, IPaymentService paymentService, INotify <GearRole> notify)
 {
     _userManager           = userManager;
     _subscriptionDbContext = subscriptionDbContext;
     _orderService          = orderService;
     _paymentService        = paymentService;
     _notify = notify;
 }
Пример #7
0
 public ViewController(IOrderService orderService, UserManager <User> userManager, IOrderProductService orderProductService, IProductService productService, IStorageService storageService, IProductStorageService productStorageService)
 {
     _orderService          = orderService;
     _userManager           = userManager;
     _orderProductService   = orderProductService;
     _productService        = productService;
     _storageService        = storageService;
     _productStorageService = productStorageService;
 }
 public CartController(IProductService productService, ICartSessionService cartSessionService, ICartService cartService, IOrderService orderService, IHttpContextAccessor httpContextAccessor, IOrderProductService orderProductService)
 {
     _productService      = productService;
     _cartSessionService  = cartSessionService;
     _cartService         = cartService;
     _orderService        = orderService;
     _httpContextAccessor = httpContextAccessor;
     _orderProductService = orderProductService;
 }
 public OrderProductController
 (
     IDomainNotification domainNotification,
     IMapper mapper,
     IOrderService orderService,
     IOrderProductService orderProductService
 ) : base(domainNotification)
 {
     _mapper              = mapper;
     _orderService        = orderService;
     _orderProductService = orderProductService;
 }
Пример #10
0
 public CartController(IAccountService _accountService, IProductService _productService, IImageService _imageService,
                       IManufactorService _manufactorService, ICategoryService _categoryService, IAnimeService _animeService, ITagService _tagService, IOrderProductService _orderProductService,
                       IOrderService _orderService)
 {
     this._accountService      = _accountService;
     this._productService      = _productService;
     this._imageService        = _imageService;
     this._manufactorService   = _manufactorService;
     this._categoryService     = _categoryService;
     this._animeService        = _animeService;
     this._orderProductService = _orderProductService;
     this._orderService        = _orderService;
 }
Пример #11
0
 public OrderController(
     IOrderService serv,
     IFileService _file,
     IOrderProductService _ordpr,
     IProductService _pr,
     IAccountService _acc)
 {
     orderService        = serv;
     fileService         = _file;
     orderProductService = _ordpr;
     productService      = _pr;
     accountService      = _acc;
 }
Пример #12
0
 public MobilPayPaymentMethodService(IOrderProductService <Order> orderProductService,
                                     IPaymentService paymentService,
                                     IUserManager <GearUser> userManager,
                                     IOptionsSnapshot <MobilPayConfiguration> options,
                                     IUserAddressService userAddressService, IHostingEnvironment environment)
 {
     _orderProductService = orderProductService;
     _paymentService      = paymentService;
     _userManager         = userManager;
     _userAddressService  = userAddressService;
     _environment         = environment;
     _configuration       = options.Value;
 }
Пример #13
0
 public PaypalPaymentMethodService(IHttpClientFactory httpClientFactory,
                                   IOptionsSnapshot <PaypalExpressConfigForm> payPalOptions,
                                   IOrderProductService <Order> orderProductService,
                                   IPaymentService paymentService,
                                   IUserManager <GearUser> userManager,
                                   IUserAddressService userAddressService)
 {
     _httpClientFactory   = httpClientFactory;
     _payPalOptions       = payPalOptions;
     _orderProductService = orderProductService;
     _paymentService      = paymentService;
     _userManager         = userManager;
     _userAddressService  = userAddressService;
 }
Пример #14
0
 public OrderController(
     IMapper mapper,
     IUserService userService,
     IOrderService orderService,
     IOrderProductService orderProductService,
     IShoppingCartService scService,
     IProductService productService)
 {
     _mapper              = mapper;
     _userService         = userService;
     _orderService        = orderService;
     _orderProductService = orderProductService;
     _scService           = scService;
     _productService      = productService;
 }
Пример #15
0
 public IndexModel(IOrderProductService service)
 {
     this._service = service;
 }
Пример #16
0
 public CheckoutController(IUserManager <GearUser> userManager, IOrderProductService <Order> orderProductService, IUserAddressService userAddressService)
 {
     _userManager         = userManager;
     _orderProductService = orderProductService;
     _userAddressService  = userAddressService;
 }
Пример #17
0
 public ManagerOrderProductController(IOrderProductService order_productservice, IMapper mapper)
 {
     this._order_productservice = order_productservice;
     this._mapper = mapper;
 }
Пример #18
0
 public OrdersController(IOrderService orderService, IOrderProductService orderProductService)
 {
     _orderService        = orderService;
     _orderProductService = orderProductService;
 }
Пример #19
0
 public OrdersController(IOrderService ordersService, IOrderProductService orderProductsService, UserManager <ApplicationUser> userManager)
 {
     this.ordersService        = ordersService;
     this.orderProductsService = orderProductsService;
     this.userManager          = userManager;
 }
Пример #20
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="orderProductService"></param>
 /// <param name="paymentService"></param>
 public OrdersController(IOrderProductService <Order> orderProductService, IPaymentService paymentService)
 {
     _orderProductService = orderProductService;
     _paymentService      = paymentService;
 }
Пример #21
0
 public OrdersController(IOrderService orderService, IOrderProductService orderProductService, IProductService productService)
 {
     this.orderService        = orderService;
     this.orderProductService = orderProductService;
     this.productService      = productService;
 }
Пример #22
0
        public OrderProductServiceTest()
        {
            _serviceProvider = new ContainerResolver().ServiceProvider;

            _orderProductService = _serviceProvider.GetRequiredService <IOrderProductService>();
        }
Пример #23
0
 public PaymentService(IPaymentContext paymentContext, IOrderProductService <Order> orderProductService)
 {
     _paymentContext      = paymentContext;
     _orderProductService = orderProductService;
 }
Пример #24
0
 public OrderController(IOrderService orderService, IOrderProductService orderProductService, ICustomerService customerService)
 {
     _orderService        = orderService;
     _orderProductService = orderProductService;
     _customerService     = customerService;
 }
Пример #25
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="tableService"></param>
 /// <param name="orderProductService2"></param>
 public OrderController(IOrderService orderService, IOrderProductService orderProductService, ITableService tableService)
 {
     this.orderService        = orderService;
     this.orderProductService = orderProductService;
     this.tableService        = tableService;
 }
Пример #26
0
 public OrderProductController(IOrderProductService orderProductService)
 {
     this.orderProductService = orderProductService;
 }
Пример #27
0
 public OrderService(IUnitOfWork uow,
                     IOrderProductService orderProductService)
 {
     _db = uow;
     _orderProductService = orderProductService;
 }
Пример #28
0
 public OrderService(IDeletableEntityRepository <Order> ordersRepository, IOrderProductService orderProductService)
 {
     this.ordersRepository    = ordersRepository;
     this.orderProductService = orderProductService;
 }
Пример #29
0
 public EditModel(IOrderProductService service)
 {
     this._service = service;
 }
Пример #30
0
 public OrderProductsController(IOrderProductService manager)
 {
     _manager = manager;
 }