public ProductsService( IGenericRepository <Products> productsRepository, IProductsQuery productsQuery) { _productsQuery = productsQuery; _productsRepository = productsRepository; }
public OrdersHandler(IEmailsCommand emailsCommand, IEmployersQuery employersQuery, ICreditsQuery creditsQuery, IProductsQuery productsQuery) { _emailsCommand = emailsCommand; _employersQuery = employersQuery; _creditsQuery = creditsQuery; _productsQuery = productsQuery; }
public JobAdController(IEmployerJobAdsCommand employerJobAdsCommand, IAnonymousJobAdsCommand anonymousJobAdsCommand, IEmployerLogosCommand employerLogosCommand, IJobAdsCommand jobAdsCommand, IJobAdsQuery jobAdsQuery, IJobPostersQuery jobPostersQuery, IMemberJobAdViewsQuery memberJobAdViewsQuery, ICreditsQuery creditsQuery, IProductsQuery productsQuery, ICouponsQuery couponsQuery, IOrdersCommand ordersCommand, IOrdersQuery ordersQuery, IEmployerAllocationsCommand employerAllocationsCommand, IEmployerCreditsQuery employerCreditsQuery, IEmployerOrdersCommand employerOrdersCommand, IEmployerOrdersQuery employerOrdersQuery, ILocationQuery locationQuery, IIndustriesQuery industriesQuery, IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, ILoginAuthenticationCommand loginAuthenticationCommand, IAuthenticationManager authenticationManager) { _employerJobAdsCommand = employerJobAdsCommand; _anonymousJobAdsCommand = anonymousJobAdsCommand; _employerLogosCommand = employerLogosCommand; _jobAdsCommand = jobAdsCommand; _jobAdsQuery = jobAdsQuery; _jobPostersQuery = jobPostersQuery; _memberJobAdViewsQuery = memberJobAdViewsQuery; _creditsQuery = creditsQuery; _productsQuery = productsQuery; _couponsQuery = couponsQuery; _ordersCommand = ordersCommand; _ordersQuery = ordersQuery; _employerAllocationsCommand = employerAllocationsCommand; _employerCreditsQuery = employerCreditsQuery; _employerOrdersCommand = employerOrdersCommand; _employerOrdersQuery = employerOrdersQuery; _locationQuery = locationQuery; _industriesQuery = industriesQuery; _accountsManager = accountsManager; _loginCredentialsQuery = loginCredentialsQuery; _loginAuthenticationCommand = loginAuthenticationCommand; _authenticationManager = authenticationManager; }
public OrdersController(IEmployerOrdersCommand employerOrdersCommand, IEmployerOrdersQuery employerOrdersQuery, IProductsQuery productsQuery, ICouponsQuery couponsQuery, ICreditsQuery creditsQuery) { _employerOrdersCommand = employerOrdersCommand; _employerOrdersQuery = employerOrdersQuery; _productsQuery = productsQuery; _couponsQuery = couponsQuery; _creditsQuery = creditsQuery; }
public ProductsController(IProductTasks productTasks, ICategoryTasks categoryTasks, IProductsQuery productsQuery, ICommandProcessor commandProcessor, ICaptchaTasks captchaTasks) { _productTasks = productTasks; _categoryTasks = categoryTasks; _productsQuery = productsQuery; _commandProcessor = commandProcessor; _captchaTasks = captchaTasks; }
public OrdersCommand(IOrdersRepository repository, IOrderPricesCommand orderPricesCommand, IProductsQuery productsQuery, IAllocationsCommand allocationsCommand, IAllocationsQuery allocationsQuery, IPurchasesCommand purchasesCommand) { _repository = repository; _orderPricesCommand = orderPricesCommand; _productsQuery = productsQuery; _allocationsCommand = allocationsCommand; _allocationsQuery = allocationsQuery; _purchasesCommand = purchasesCommand; }
public ProductController(ISaveFilesFromRequest saleFilesFromRequest, IGetFilesFromRequest getFilesFromRequest, ICommandProduct commandProduct, IProductsQuery productsQuery, IGetCategoriesListQuery getCategorieslistquery, IGenderListQuery genderListQuery) { _saleFilesFromRequest = saleFilesFromRequest; _getFilesFromRequest = getFilesFromRequest; _commandProduct = commandProduct; _productsQuery = productsQuery; _getCategoriesListQuery = getCategorieslistquery; _getGenderListQuery = genderListQuery; }
public ProductsController( IProductsQuery productsQuery, IProductOptionsQuery productOptionsQuery, IProductsCommand productsCommand, IProductsCommandValidator productsCommandValidator, IProductOptionsCommand productOptionsCommand, IProductOptionsCommandValidator productOptionsCommandValidator ) { _productsQuery = productsQuery; _productOptionsQuery = productOptionsQuery; _productsCommand = productsCommand; _productOptionsCommand = productOptionsCommand; _productOptionsCommandValidator = productOptionsCommandValidator; _productsCommandValidator = productsCommandValidator; }
public NewOrderController(IPageflowEngine pageflowEngine, IEmployerOrdersCommand employerOrdersCommand, IEmployerOrdersQuery employerOrdersQuery, IProductsQuery productsQuery, ICreditsQuery creditsQuery, ICouponsQuery couponsQuery, IOrdersCommand ordersCommand, IOrdersQuery ordersQuery, IAccountsManager accountsManager, ILoginCredentialsQuery loginCredentialsQuery, ILoginAuthenticationCommand loginAuthenticationCommand, IAuthenticationManager authenticationManager, IIndustriesQuery industriesQuery) : base(Routes, pageflowEngine) { _employerOrdersCommand = employerOrdersCommand; _employerOrdersQuery = employerOrdersQuery; _productsQuery = productsQuery; _creditsQuery = creditsQuery; _couponsQuery = couponsQuery; _ordersCommand = ordersCommand; _ordersQuery = ordersQuery; _accountsManager = accountsManager; _loginCredentialsQuery = loginCredentialsQuery; _loginAuthenticationCommand = loginAuthenticationCommand; _authenticationManager = authenticationManager; _industriesQuery = industriesQuery; }
public static Order PrepareOrder(this IEmployerOrdersCommand employerOrdersCommand, IProductsQuery productsQuery, ICreditsQuery creditsQuery, IEnumerable <Guid> productIds, Coupon coupon, Discount discount, CreditCardType creditCardType) { var order = employerOrdersCommand.PrepareOrder(productIds, coupon, discount, creditCardType); SortItems(creditsQuery, order, productsQuery.GetProducts()); return(order); }
public ProductsController(ICurrentPriceQuery currentPriceQuery, IProductsQuery productsQuery) { _currentPriceQuery = currentPriceQuery; _productsQuery = productsQuery; }
public void Setup() { _productTasks = MockRepository.GenerateMock<IProductTasks>(); _categoryTasks = MockRepository.GenerateMock<ICategoryTasks>(); _productsQuery = MockRepository.GenerateMock<IProductsQuery>(); _commandProcessor = MockRepository.GenerateMock<ICommandProcessor>(); _captchaTasks = MockRepository.GenerateMock<ICaptchaTasks>(); _controller = new ProductsController(_productTasks, _categoryTasks, _productsQuery, _commandProcessor, _captchaTasks); }
public EmployerOrdersQuery(IProductsQuery productsQuery, ICreditsQuery creditsQuery) { _productsQuery = productsQuery; _creditsQuery = creditsQuery; }