Ejemplo n.º 1
0
 public UserService(IProductItemService productItemService, IMapper mapper, IUnitOfWork unitOfWork)
 {
     this.productItemService = productItemService;
     this.customerRepository = unitOfWork.CustomerRepository;
     this.mapper             = mapper;
     this.unitOfWork         = unitOfWork;
 }
Ejemplo n.º 2
0
 public ComboMealController(IComboService comboService, IComboProductService comboProductService, IProductItemService productItemService, IMapper mapper)
 {
     _comboService        = comboService;
     _comboProductService = comboProductService;
     _productItemService  = productItemService;
     _mapper = mapper;
 }
 public Office365TransitionReportConsumer(
     IWorkflowOffice365ActivityService workflowService,
     IProductItemService productItemService,
     IOffice365DbCustomerService office365DbCustomerServic,
     IOffice365ServiceSettings office365ServiceSettings)
 {
     _workflowService            = workflowService;
     _productItemService         = productItemService;
     _office365DbCustomerService = office365DbCustomerServic;
     _office365ServiceSettings   = office365ServiceSettings;
 }
Ejemplo n.º 4
0
 public HomeController(IProductItemService productItemService, IComboService comboService, IIngredientService ingredientService, IShoppingCartService shoppingCartService, IMapper mapper, ILogger <HomeController> logger, ShoppingCartSession session, ICustomizeProductService customizeProductService, ICustomizeProductIngredientService customizeProductIngredientService)
 {
     _productItemService  = productItemService;
     _comboService        = comboService;
     _ingredientService   = ingredientService;
     _shoppingCartService = shoppingCartService;
     _mapper = mapper;
     _logger = logger;
     Session = session;
     _customizeProductService           = customizeProductService;
     _customizeProductIngredientService = customizeProductIngredientService;
 }
        public LimitOptionRequestScannerService(IServiceScopeFactory serviceScopeFactory)
        {
            var scope = serviceScopeFactory.CreateScope();

            this.limitOptionRequestGenericRepository = scope.ServiceProvider.GetRequiredService <IGenericRepository <LimitOptionRequest> >();
            this.walletGenericRepository             = scope.ServiceProvider.GetRequiredService <IGenericRepository <Wallet> >();
            this.genericProductItemRepository        = scope.ServiceProvider.GetRequiredService <IGenericRepository <ProductItem> >();
            this.mapper = scope.ServiceProvider.GetRequiredService <IMapper>();
            this.genericWalletService        = scope.ServiceProvider.GetRequiredService <IGenericService <Wallet> >();
            this.genericTransactionService   = scope.ServiceProvider.GetRequiredService <IGenericService <Transaction> >();
            this.genericMarketItemService    = scope.ServiceProvider.GetRequiredService <IGenericService <MarketItem> >();
            this.genericMarketItemRepository = scope.ServiceProvider.GetRequiredService <IGenericRepository <MarketItem> >();
            this.productItemService          = scope.ServiceProvider.GetRequiredService <IProductItemService>();
        }
        public TradeController(
            ISharedIdentityService sharedIdentityService,
            IWalletService walletService,
            ITradeService tradeService,
            IProductItemService productItemService,

            IMapper mapper)
        {
            this.sharedIdentityService = sharedIdentityService;
            this.walletService         = walletService;
            this.tradeService          = tradeService;
            this.productItemService    = productItemService;
            this.mapper = mapper;
        }
Ejemplo n.º 7
0
 public RequestManager(
     IProductDepositRequestService ProductRequestService,
     IProductItemService productItemService,
     IGenericService <ProductItem> genericProductItemService,
     IGenericService <NewTypeRequest> genericNewTypeRequestService,
     IGenericService <DepositRequest> genericDepositRequestService,
     IGenericService <ProductDepositRequest> genericProductDepositRequestService,
     IGenericService <Wallet> genericWalletService,
     HttpClient httpClient,
     IMapper mapper)
 {
     this.ProductRequestService               = ProductRequestService;
     this.productItemService                  = productItemService;
     this.genericProductItemService           = genericProductItemService;
     this.genericNewTypeRequestService        = genericNewTypeRequestService;
     this.genericDepositRequestService        = genericDepositRequestService;
     this.genericProductDepositRequestService = genericProductDepositRequestService;
     this.genericWalletService                = genericWalletService;
     this.httpClient = httpClient;
     this.mapper     = mapper;
 }
 public ProductController(IProductItemService service, ISupplierService supplierService, IProductItemListService productListService = null)
 {
     this.service            = service;
     this.supplierService    = supplierService;
     this.productListService = productListService;
 }
Ejemplo n.º 9
0
 public ProductService(IProductItemService productItemService)
 {
     this.productItemService = productItemService;
 }