public RegisterController(IContactRepository contacts, IStoreRepository stores,
     IContactQueue queue)
 {
     contactRepository = contacts;
     storeRepository = stores;
     contactQueue = queue;
 }
Example #2
0
 public ProductController(IBrandRepository brandRepository, ITagRepository tagRepository, IProductRepository productRepository, IStoreRepository storeRepository)
 {
     _productRepository = productRepository;
     _storeRepository = storeRepository;
     _brandRepository = brandRepository;
     _tagRepository = tagRepository;
 }
Example #3
0
 /// <summary>
 /// Initializes the <see cref="StoreClient"/> class.
 /// </summary>
 public StoreClient(IStoreRepository storeRepository, ICustomerSessionService customerSession, ICacheRepository cacheRepository)
 {
     _storeRepository = storeRepository;
     _cacheRepository = cacheRepository;
     _customerSession = customerSession;
     _isEnabled = StoreConfiguration.Instance.Cache.IsEnabled;
 }
 public CommodityTransferStoreAssignmentViewModelBuilder(ICommodityTransferRepository commodityTransferRepository, IStoreRepository storeRepository, ICommodityRepository commodityRepository, IHubRepository hubRepository)
 {
     _commodityTransferRepository = commodityTransferRepository;
     _storeRepository = storeRepository;
     _commodityRepository = commodityRepository;
     _hubRepository = hubRepository;
 }
 public CommodityTransferViewModelBuilder(ICommodityTransferRepository commodityTransferRepository, IHubRepository hubRepository, ICommodityTransferWFManager commodityTransferWfManager, IStoreRepository storeRepository)
 {
     _commodityTransferRepository = commodityTransferRepository;
     _hubRepository = hubRepository;
     _commodityTransferWfManager = commodityTransferWfManager;
     _storeRepository = storeRepository;
 }
 public SectionController(ISectionRepository sectionRepo,
     IStoreRepository storeRepo,
     IBrandRepository brandRepo)
 {
     _sectionRepo = sectionRepo;
     _brandRepo = brandRepo;
     _storeRepo = storeRepo;
 }
 public StoreController(IStoreRepository storeRepository
     ,IResourceService resourceService
     ,IResourceRepository resourceRepo)
 {
     this._storeRepository = storeRepository;
     _resouceService = resourceService;
     _resourceRepo = resourceRepo;
 }
		public CreateUserDialogViewModel(CreateUserDialogOperationType operationType, IStoreRepository storeRepository)
        {
            _storeRepository = storeRepository;
            OperationType = operationType;

            InitStoreList();
            OnPropertyChanged("IsValid");
        }
Example #9
0
 public StoreService(
     IUnitOfWork unitOfWork,
     IRepository<Store> userRepository,
     IStoreRepository customRepository)
 {
     _unitOfWork = unitOfWork;
     _repository = userRepository;
     _customRepository = customRepository;
 }
Example #10
0
        public StoreController(IStoreRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.StoreRepository = repository;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="OrderService"/> class.
        /// </summary>
        /// <param name="orderRepository">The order repository.</param>
        /// <param name="searchService">The search service.</param>
        /// <param name="workflowService">The workflow service.</param>
        /// <param name="paymentMethodRepository">The payment method repository.</param>
        /// <param name="storeRepository">The store repository.</param>
		public OrderService(IOrderRepository orderRepository, ISearchService searchService, IWorkflowService workflowService, IPaymentMethodRepository paymentMethodRepository, IStoreRepository storeRepository)
			: this()
		{
			_orderRepository = orderRepository;
			_searchService = searchService;
			_workflowService = workflowService;
			_paymentMethodRepository = paymentMethodRepository;
			_storeRepository = storeRepository;
		}
 public HotwordController(IHotWordRepository hotwordRepo,
     IBrandRepository brandRepo,
     IStoreRepository storeRepo)
 {
     _hotwordRepo = hotwordRepo;
     _brandRepo = brandRepo;
     _storeRepo = storeRepo;
    
 }
 public CommodityTransferService(IStoreRepository storeRepository, ICommodityRepository commodityRepository, ICommodityStorageRepository commodityStorageRepository, ICostCentreRepository costCentreRepository, IUserRepository userRepository, ISettingsRepository settingsRepository, ICommodityReleaseRepository commodityReleaseRepository, ICommodityTransferRepository commodityTransferRepository)
 {
     _storeRepository = storeRepository;
     _commodityRepository = commodityRepository;
     _commodityStorageRepository = commodityStorageRepository;
     _costCentreRepository = costCentreRepository;
     _userRepository = userRepository;
     _settingsRepository = settingsRepository;
     _commodityReleaseRepository = commodityReleaseRepository;
     _commodityTransferRepository = commodityTransferRepository;
 }
 public UserAuthController(IUserAuthRepository authRepo
     ,IStoreRepository storeRepo
     ,IBrandRepository brandRepo
     ,ICustomerRepository customerRepo)
 {
     _authRepo = authRepo;
     _storeRepo = storeRepo;
     _brandRep = brandRepo;
     _customerRepo = customerRepo;
    
 }
 public CouponController(ICouponDataService couponDataService,
     ICouponRepository couponRepo,
     IPromotionRepository promotionRepo,
     IProductRepository productRepo,
     IStoreRepository storeRepo)
 {
     this._couponDataService = couponDataService;
     _couponRepo = couponRepo;
     _productRepo = productRepo;
     _promotionRepo = promotionRepo;
     _storeRepo = storeRepo;
 }
 public PromotionController(IPromotionRepository promotionRepository
     ,IStoreRepository storeRepository
     ,ITagRepository tagRepository
     ,IResourceService resourceService
     ,IUserAuthRepository authRepo)
 {
     this._promotionRepository = promotionRepository;
     _storeRepository = storeRepository;
     _tagRepository = tagRepository;
     _resourceService = resourceService;
     _authRepo = authRepo;
 }
Example #17
0
 protected BaseMappingManager()
 {
     _resourceRepository = ServiceLocator.Current.Resolve<IResourceRepository>();
     _pprRepository = ServiceLocator.Current.Resolve<IPromotionProductRelationRepository>();
     _stprRepository = ServiceLocator.Current.Resolve<ISpecialTopicProductRelationRepository>();
     _storeRepository = ServiceLocator.Current.Resolve<IStoreRepository>();
     _tagRepository = ServiceLocator.Current.Resolve<ITagRepository>();
     _specialTopicRepository = ServiceLocator.Current.Resolve<ISpecialTopicRepository>();
     _promotionRepository = ServiceLocator.Current.Resolve<IPromotionRepository>();
     _brandRepository = ServiceLocator.Current.Resolve<IBrandRepository>();
     _customerRepository = ServiceLocator.Current.Resolve<ICustomerRepository>();
     _productRepository = ServiceLocator.Current.Resolve<IProductRepository>();
 }
 public ProBulkUploadController(IBrandRepository brandRepo,
     ITagRepository tagRepo,
     IStoreRepository storeRepo,
     ICategoryPropertyRepository propertyRepo,
     ICategoryPropertyValueRepository valueRepo
    )
 {
     _brandRepo = brandRepo;
     _tagRepo = tagRepo;
     _storeRepo = storeRepo;
     _propertyRepo = propertyRepo;
     _valueRepo = valueRepo;
 }
 public ProductController(IProductRepository productRepository
     , ISpecialTopicProductRelationRepository specialTopicProductRelationRepository
     , IPromotionProductRelationRepository promotionProductRelationRepository
     , IStoreRepository storeRepository
     , IResourceService resourceService
     , IUserAuthRepository userAuthRepo)
 {
     _productRepository = productRepository;
     _stprRepository = specialTopicProductRelationRepository;
     _pprRepository = promotionProductRelationRepository;
     _storeRepository = storeRepository;
     _resourceService = resourceService;
     _userAuthRepo = userAuthRepo;
 }
Example #20
0
        public StoreController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.StoreRepository = new MixERP.Net.Schemas.Office.Data.Store
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
Example #21
0
 public SystemService(
     IUnitOfWork unitOfWork,
     IRepository<Document> documentRepository,
     IRepository<LookUp> lookUpRepository,
     IRepository<XUser> userepository,
     ISystemRepository customSystemRepository,
     IUserRepository customUserRepository,
     IStoreRepository customStorerRepository)
 {
     _unitOfWork = unitOfWork;
     _customSystemRepository = customSystemRepository;
     _customUserRepository = customUserRepository;
     _documentRepository = documentRepository;
     _lookUpRepository = lookUpRepository;
     _userepository = userepository;
 }
 public AIMAdminUnitOfWork(IAIM_DBContext context,
     IApplicantQuestionAnswerRepository applicantQuestionAnswerRepository,
     IApplicantRepository applicantRepository,
     IApplicationRepository applicationRepository,
     IAspNetRoleRepository aspNetRoleRepository,
     IAspNetUserClaimRepository aspNetUserClaimRepository,
     IAspNetUserLoginRepository aspNetUserLoginRepository,
     IAspNetUserRepository aspNetUserRepository,
     IEducationRepository educationRepository,
     IEmployeeRepository employeeRepository,
     IHourRepository hourRepositor,
     IInterviewQuestionRepository interviewQuestionRepository,
     IJobHistoryRepository jobHistoryRepository,
     IJobRepository jobRepository,
     IOpenJobRepository openJobRepository,
     IPersonalInfoRepository personalInfoRepository,
     IQuestionnaireRepository questionnaireRepository,
     IQuestionRepository questionRepository,
     IReferenceRepository referenceRepository,
     IRegionRepository regionRepository,
     IStoreRepository storeRepository,
     IUserRepository userRepository) :
     base(context as DbContext)
 {
     _applicantQuestionAnswerRepository = applicantQuestionAnswerRepository;
     _applicantRepository = applicantRepository;
     _applicationRepository = applicationRepository;
     _aspNetRoleRepository = aspNetRoleRepository;
     _aspNetUserClaimRepository = aspNetUserClaimRepository;
     _aspNetUserLoginRepository = aspNetUserLoginRepository;
     _aspNetUserRepository = aspNetUserRepository;
     _educationRepository = educationRepository;
     _employeeRepository = employeeRepository;
     _hourRepository = hourRepositor;
     _interviewQuestionRepository = interviewQuestionRepository;
     _jobHistoryRepository = jobHistoryRepository;
     _jobRepository = jobRepository;
     _openJobRepository = openJobRepository;
     _personalInfoRepository = personalInfoRepository;
     _questionnaireRepository = questionnaireRepository;
     _questionRepository = questionRepository;
     _referenceRepository = referenceRepository;
     _regionRepository = regionRepository;
     _storeRepository = storeRepository;
     _userRepository = userRepository;
 }
	    private static StoreTaxJurisdictionViewModel[] GetAvailableTaxJurisdictions(StoreViewModel parentVM,
	        IStoreRepository repository)
	    {
	        var result = new StoreTaxJurisdictionViewModel[]
	        {
	            new StoreTaxJurisdictionViewModel(
	                new StoreTaxJurisdiction() {StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "China"},
	                repository),
	            new StoreTaxJurisdictionViewModel(
	                new StoreTaxJurisdiction() {StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "Canada"},
	                repository),
	            new StoreTaxJurisdictionViewModel(
	                new StoreTaxJurisdiction() {StoreId = parentVM.InnerItem.StoreId, TaxJurisdiction = "USA"}, repository)
	        };

	        return result;
	    }
 public DistributorServicesController(IOutletRepository outletRepository, ICostCentreFactory costCentreFactory, ICostCentreRepository costCentreRepository, IRouteRepository routeRepository, IOutletCategoryRepository outletCategoryRepository, IOutletTypeRepository outletTypeRepository, IOutletVisitDayRepository outletVisitDayRepository, IOutletPriorityRepository outletPriorityRepository, IProductPricingTierRepository productPricingTierRepository, IVATClassRepository vatClassRepository, IDiscountGroupRepository discountGroupRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IUserRepository userRepository, IDistributorSalesmanRepository distributorSalesmanRepository, ISalesmanRouteRepository salesmanRouteRepository, IContactRepository contactRepository, IContactTypeRepository contactTypeRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, IRegionRepository regionRepository, IPurchasingClerkRepository purchasingClerkRepository, IPurchasingClerkRouteRepository purchasingClerkRouteRepository, ICommoditySupplierRepository commoditySupplierRepository, ICommodityProducerRepository commodityProducerRepository, IMasterDataAllocationRepository masterDataAllocationRepository, ICommodityOwnerRepository commodityOwnerRepository, ICentreRepository centreRepository, IStoreRepository storeRepository, IVehicleRepository vehicleRepository, IEquipmentRepository equipmentRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, ITransactionsSummary transactionsSummary, IPgRepositoryHelper pgRepository)
 {
     _outletRepository = outletRepository;
     _costCentreFactory = costCentreFactory;
     _costCentreRepository = costCentreRepository;
     _routeRepository = routeRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _outletTypeRepository = outletTypeRepository;
     _outletVisitDayRepository = outletVisitDayRepository;
     _outletPriorityRepository = outletPriorityRepository;
     _productPricingTierRepository = productPricingTierRepository;
     _vatClassRepository = vatClassRepository;
     _discountGroupRepository = discountGroupRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _targetRepository = targetRepository;
     _userRepository = userRepository;
     _distributorSalesmanRepository = distributorSalesmanRepository;
     _salesmanRouteRepository = salesmanRouteRepository;
     _contactRepository = contactRepository;
     _contactTypeRepository = contactTypeRepository;
     _bankRepository = bankRepository;
     _bankBranchRepository = bankBranchRepository;
     _regionRepository = regionRepository;
     _purchasingClerkRepository = purchasingClerkRepository;
     _purchasingClerkRouteRepository = purchasingClerkRouteRepository;
     _commoditySupplierRepository = commoditySupplierRepository;
     _commodityProducerRepository = commodityProducerRepository;
     _masterDataAllocationRepository = masterDataAllocationRepository;
     _commodityOwnerRepository = commodityOwnerRepository;
     _centreRepository = centreRepository;
     _storeRepository = storeRepository;
     _vehicleRepository = vehicleRepository;
     _equipmentRepository = equipmentRepository;
     _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
     _transactionsSummary = transactionsSummary;
     _pgRepository = pgRepository;
 }
Example #25
0
        public StoreService(ITypeAdapterFactory typeAdapterFactory, IValidationFactory validationFactory,
            IAddressServiceFactory addressServiceFactory, IStoreLocalizedDetailsServiceFactory storeLocalizedDetailsServiceFactory,
            IStoreRepository storeRepository, IPhoneNumberServiceFactory phoneNumberServiceFactory)
        {
            if (typeAdapterFactory == null)
                throw new ArgumentNullException("typeAdapterFactory");
            if (validationFactory == null)
                throw new ArgumentNullException("validationFactory");
            if (addressServiceFactory == null)
                throw new ArgumentNullException("addressServiceFactory");
            if (storeLocalizedDetailsServiceFactory == null)
                throw new ArgumentNullException("storeLocalizedDetailsServiceFactory");
            if (storeRepository == null)
                throw new ArgumentNullException("storeRepository");
            if (phoneNumberServiceFactory == null)
                throw new ArgumentNullException("phoneNumberServiceFactory");

            this.typeAdapterFactory = typeAdapterFactory;
            this.validationFactory = validationFactory;
            this.addressServiceFactory = addressServiceFactory;
            this.storeLocalizedDetailsServiceFactory = storeLocalizedDetailsServiceFactory;
            this.storeRepository = storeRepository;
            this.phoneNumberServiceFactory = phoneNumberServiceFactory;
        }
 public ProcessOrderStatusWork(IStoreRepository storeRepository, IOrderRepository orderRepository)
 {
     _storeRepository = storeRepository;
     _orderRepository = orderRepository;
 }
		public UmbracoStoreService(IStoreRepository storeRepository, ICMSApplication cmsApplication, ICMSEntityRepository cmsEntityRepository)
		{
			_storeRepository = storeRepository;
			_cmsApplication = cmsApplication;
			_cmsEntityRepository = cmsEntityRepository;
		}
Example #28
0
 public NavController(IStoreRepository repo)
 {
     repository = repo;
 }
Example #29
0
 public SaveStoreCommand(IStoreRepository storeRepository)
 {
     this.storeRepository = storeRepository;
 }
Example #30
0
 public ProductController(IStoreRepository <Product> rep)
 {
     repository = rep;
 }
Example #31
0
 public StoreService(IStoreRepository storeRepository)
 {
     _storeRepository = storeRepository;
 }
 public CartModel(IStoreRepository repo, Cart cartService)
 {
     repository = repo;
     Cart       = cartService;
 }
 public CustomerController(IStoreRepository repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Example #34
0
 public StoreController(IStoreRepository storeRepository)
 {
     _storeRepository = storeRepository;
 }
 public SaleController(AppDbContext dbContext, ISaleRepository saleRepo, IProductRepository productRepo, IStoreRepository storeRepo, ICustomerRepository customerRepo)
 {
     _saleRepo     = saleRepo;
     _productRepo  = productRepo;
     _storeRepo    = storeRepo;
     _customerRepo = customerRepo;
     _dbContext    = dbContext;
 }
Example #36
0
        public int PageSize = 4; //symbolic constant

        public HomeController(IStoreRepository repo)
        {
            repository = repo;
        }
Example #37
0
 public OrderController(IOrderRepository orderRepo, ICustomerRepository customerRepo, IStoreRepository storeRepo)
 {
     _context         = orderRepo;
     _customerContext = customerRepo;
     _storeContext    = storeRepo;
 }
Example #38
0
 public CartModel(IStoreRepository repo)
 {
     repository = repo;
 }
Example #39
0
 public ChartDashboardViewComponent(IStoreRepository repo)
 {
     repository = repo;
 }
Example #40
0
 public CreateStoreFormPresenter(IStoreRepository storeRepository)
 {
     this._StoreRepository = storeRepository;
 }
Example #41
0
 public StoreService(IStoreRepository repository,
                     IUnitOfWork unitOfWork)
 {
     this.repository = repository ?? throw new ArgumentNullException(nameof(repository));
     this.unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
 }
Example #42
0
 public NavigationMenuViewComponent(IStoreRepository repo)
 {
     repository = repo;
 }
Example #43
0
 public ProductRepository(DatabaseContext context, IStoreRepository storeRepository) : base(context.DbContext)
 {
     this.storeRepository = storeRepository;
 }
Example #44
0
 public MainController(IStoreRepository repo)
 {
     _repository = repo;
 }
 public ProductController(IStoreRepository repo)
 {
     repository = repo;
 }
 public ProductsController(IStoreRepository _db, ILogger <ProductsController> _logger)
 {
     db     = _db;
     logger = _logger;
 }
Example #47
0
 public StoreService(ILogger <StoreService> logger, IStoreRepository repository)
 {
     _logger     = logger;
     _repository = repository;
 }
 public CustomerController(ICustomerRepository customerRepo, IStoreRepository storeRepo, Project0Context db)
 {
     Repo      = customerRepo;
     StoreRepo = storeRepo;
     _db       = db;
 }
Example #49
0
 public StoreController(IStoreRepository repository)
 {
     this.repository = repository;
 }
 public CartModel(IStoreRepository repository, Cart cart)
 {
     this.repository = repository;
     this.Cart       = cart;
 }
 public StoreDomainService(IStoreRepository storeRepository)
 {
     _storeRepository = storeRepository;
 }
Example #52
0
 public UmbracoStoreService(IStoreRepository storeRepository, ICMSApplication cmsApplication, ICMSEntityRepository cmsEntityRepository)
 {
     _storeRepository     = storeRepository;
     _cmsApplication      = cmsApplication;
     _cmsEntityRepository = cmsEntityRepository;
 }
Example #53
0
 public StoreService(IStoreRepository repo)
 {
     _repo = repo;
 }
Example #54
0
 public SalesService(IStoreRepository repository)
 {
     _storeRepository = repository;
 }
Example #55
0
 public StoreTests(RepositoryFixture fixture)
 {
     this.storeRepository = fixture.storeRepository;
 }
 public FetchActivities(IStoreRepository storeRepository, IConfigProvider configProvider)
 {
     _storeRepository = storeRepository;
     _configProvider  = configProvider;
 }
Example #57
0
 public StoreAppService(IStoreRepository repository) : base(repository)
 {
     _repository = repository;
 }
Example #58
0
 public CartListViewComponent(IStoreRepository repo)
 {
     repository = repo;
 }
Example #59
0
 public StoreQueryService(IStoreRepository storeRepository, ILogger logger)
 {
     _storeRepository = storeRepository;
     _logger          = logger;
 }
Example #60
0
 public LocationsController(IStoreRepository Repo, ILogger <LocationsController> Logger)
 {
     repo   = Repo ?? throw new ArgumentNullException(nameof(repo));
     logger = Logger ?? throw new ArgumentNullException(nameof(logger));
 }