public ProductDiscountViewModelBuilder(IProductDiscountRepository productDiscountRepository, IProductRepository productRepository, IProductDiscountFactory productDiscountFactory,IProductPricingTierRepository productPricingTierRepository)
 {
     _productDiscountRepository = productDiscountRepository;
     _productRepository = productRepository;
     _productDiscountFactory = productDiscountFactory;
     _productPricingTierRepository = productPricingTierRepository;
 }
 public AfcoPricingImportService(IProductRepository productRepository, IProductPricingRepository productPricingRepository, IProductPricingTierRepository productPricingTierRepository)
 {
     _productRepository = productRepository;
     _productPricingRepository = productPricingRepository;
     _productPricingTierRepository = productPricingTierRepository;
     _failedImpoprts = new List<string>();
 }
 //IReturnablesRepository _returnablesRepository;
 public ProductViewModelBuilder( IProductRepository productRepository,
                                 IProductFactory productFactory,
                                 IProductPackagingRepository productPackagingRepository, 
                                 IProductPackagingTypeRepository productPackagingTypeRepository,
                                 IProductBrandRepository productBrandRepository,
                                 IProductTypeRepository productTypeRepository,
                                 IProductFlavourRepository productFlavourFactory,
     IProductPricingTierRepository productPricingTier,
     IProductPricingFactory productPricingFactory,
 IProductPricingRepository productPricingRepository,
     IVATClassRepository vatClassRepository,
     IAuditLogRepository auditLogRepository
     //IReturnablesRepository returnablesRepository
     )
 {
     _productRepository = productRepository;
     _productFactory = productFactory;
     _productBrandRepository = productBrandRepository;
     _productPackagingRepository = productPackagingRepository;
     _productPackagingTypeRepository = productPackagingTypeRepository;
     _productTypeRepository = productTypeRepository;
     _productFlavourRepository = productFlavourFactory;
     _productPricingFactory = productPricingFactory;
     _productPricingRepository = productPricingRepository;
     _productPricingTier = productPricingTier;
     _vatClassRepository = vatClassRepository;
     _auditLogRepository = auditLogRepository;
     //_returnablesRepository = returnablesRepository;
 }
 public DistributorViewModelBuilder(IDistributorRepository distrepository, IRegionRepository regionrepository, IUserRepository userRepository, ICostCentreFactory costCentreFactory, IProducerRepository producerRepository, ICostCentreRepository costCentreRepository,IProductPricingTierRepository pricingTierRepository, IMasterDataUsage masterDataUsage)
 {
     _distrepository = distrepository;
     _regionrepository = regionrepository;
     _userRepository = userRepository;
     _costCentreFactory = costCentreFactory;
     _producerRepository = producerRepository;
     _costCentreRepository = costCentreRepository;
     _pricingTierRepository=pricingTierRepository;
     _masterDataUsage = masterDataUsage;
 }
 public ProductPricingViewModelBuilder
     (
     IProductPricingRepository productPricingRepository,
     IProductPricingFactory productPricingFactory,
     IProductRepository productRepository,
     IProductPricingTierRepository productPricingTierRepository
     )
 {
     _productPricingRepository = productPricingRepository;
     _productPricingFactory = productPricingFactory;
     _productPricingTierRepository = productPricingTierRepository;
     _productRepository = productRepository;
 }
 public DiscountProcessorService(IProductRepository productRepository, IProductDiscountRepository productDiscount, ICertainValueCertainProductDiscountRepository certainValueCertainProduct, IDiscountGroupRepository discountGroupRepository, IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository, IProductDiscountGroupRepository productGroupDiscountRepository, IPromotionDiscountRepository promotionDiscountRepository, ISaleValueDiscountRepository saleValueDiscountRepository, IProductPricingTierRepository productPricingTierRepository, List<DiscountBase> discountLine, ICostCentreRepository costCentreRepository)
 {
     _productRepository = productRepository;
     _productDiscount = productDiscount;
     _certainValueCertainProduct = certainValueCertainProduct;
     _discountGroupRepository = discountGroupRepository;
     _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
     _productGroupDiscountRepository = productGroupDiscountRepository;
     _promotionDiscountRepository = promotionDiscountRepository;
     _SaleValueDiscountRepository = saleValueDiscountRepository;
     _productPricingTierRepository = productPricingTierRepository;
     this.discountLine = discountLine;
     _costCentreRepository = costCentreRepository;
 }
Esempio n. 7
0
 public ProductImportService(IProductRepository productRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository flavourRepository, IProductPackagingRepository productPackagingRepository, ISupplierRepository supplierRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductTypeRepository productTypeRepository, IVATClassRepository vatClassRepository, IProductPricingRepository productPricingRepository, IProductPricingTierRepository productPricingTierRepository)
 {
     _productRepository = productRepository;
     _productBrandRepository = productBrandRepository;
     _flavourRepository = flavourRepository;
     _productPackagingRepository = productPackagingRepository;
     _supplierRepository = supplierRepository;
     _productPackagingTypeRepository = productPackagingTypeRepository;
     _productTypeRepository = productTypeRepository;
     _vatClassRepository = vatClassRepository;
     _productPricingRepository = productPricingRepository;
     _productPricingTierRepository = productPricingTierRepository;
     _failedImpoprts=new List<string>();
 }
 public OutletImporterService(CokeDataContext context, IUserRepository userRepository, IProductPricingRepository productPricingRepository, IRouteRepository routeRepository, IOutletRepository outletRepository, IOutletTypeRepository outletTypeRepository, IOutletCategoryRepository outletCategoryRepository, IProductPricingTierRepository productPricingTierRepository, IVATClassRepository vatClassRepository, ICostCentreRepository costCentreRepository, IDiscountGroupRepository discountGroupRepository)
 {
     _context = context;
     _userRepository = userRepository;
     _productPricingRepository = productPricingRepository;
     _routeRepository = routeRepository;
     _outletRepository = outletRepository;
     _outletTypeRepository = outletTypeRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _productPricingTierRepository = productPricingTierRepository;
     _vatClassRepository = vatClassRepository;
     _costCentreRepository = costCentreRepository;
     _discountGroupRepository = discountGroupRepository;
 }
Esempio n. 9
0
 public DiscountProWorkflow(ICostCentreRepository costCentreService, IProductRepository productService, IProductDiscountRepository productDiscount,
     ICertainValueCertainProductDiscountRepository certainValueCertainProduct, IDiscountGroupRepository discountGroupService,
     IFreeOfChargeDiscountRepository freeOfChargeDiscountService, IProductDiscountGroupRepository productGroupDiscountService, IPromotionDiscountRepository promotionDiscountService, ISaleValueDiscountRepository saleValueDiscountService, IProductPricingTierRepository productPricingTierService)
 {
     _productService = productService;
     _productDiscount = productDiscount;
     _certainValueCertainProduct = certainValueCertainProduct;
     _discountGroupService = discountGroupService;
     _freeOfChargeDiscountService = freeOfChargeDiscountService;
     _productGroupDiscountService = productGroupDiscountService;
     _promotionDiscountService = promotionDiscountService;
     _SaleValueDiscountService = saleValueDiscountService;
     _productPricingTierService = productPricingTierService;
     _costCentreService = costCentreService;
 }
 public MasterDataEntityResolver(IOutletTypeRepository outletTypeRepository, IOutletRepository outletRepository, IOutletCategoryRepository outletCategoryRepository, IVATClassRepository vatClassRepository, IDiscountGroupRepository discountGroupRepository, IProductPricingTierRepository productPricingTierRepository, IRouteRepository routeRepository, IContactTypeRepository contactTypeRepository, IAssetCategoryRepository assetCategoryRepository, IAssetTypeRepository assetTypeRepository, IAssetStatusRepository assetStatusRepository, ITargetPeriodRepository targetPeriodRepository, ICostCentreRepository costCentreRepository, IUserGroupRepository userGroupRepository, IUserRepository userRepository)
 {
     _outletTypeRepository = outletTypeRepository;
     _outletRepository = outletRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _vatClassRepository = vatClassRepository;
     _discountGroupRepository = discountGroupRepository;
     _productPricingTierRepository = productPricingTierRepository;
     _routeRepository = routeRepository;
     _contactTypeRepository = contactTypeRepository;
    // _maritalStatusRepository = maritalStatusRepository;
     _assetCategoryRepository = assetCategoryRepository;
     _assetTypeRepository = assetTypeRepository;
     _assetStatusRepository = assetStatusRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _costCentreRepository = costCentreRepository;
     _userGroupRepository = userGroupRepository;
     _userRepository = userRepository;
 }
Esempio n. 11
0
 public TestGridViewModel(IConfirmPaymentNoteWFManager confirmPaymentNoteWFManager,
     IConfirmCreditNoteWFManager confirmCreditNoteWFManager,
     IConfirmDispatchNoteWFManager confirmDispatchNoteWFManager,IDocumentFactory documentFactory,
     IConfirmReturnsNoteWFManager confirmReturnsNoteWFManager, IUserRepository userService, ICostCentreRepository costCentreService, 
     IConfigService configService, IProductRepository productService, IProductPricingRepository productPricingService,
     IProductPricingTierRepository productPricingTierService)
 {
     _productService = productService;
     SetUp();
     ProcessCommand = new RelayCommand(Process);
     ReturnNoteCommand = new RelayCommand(TestRetire);
     _productPricingService = productPricingService;
     _productPricingTierService = productPricingTierService;
     _costCentreService = costCentreService;
     _configService = configService;
     _userService = userService;
     _confirmReturnsNoteWFManager = confirmReturnsNoteWFManager;
     _documentFactory = documentFactory;
     _confirmDispatchNoteWFManager = confirmDispatchNoteWFManager;
     _confirmCreditNoteWFManager = confirmCreditNoteWFManager;
     DiscountTestCommand = new RelayCommand(GeneratePaymentNote);
     _confirmPaymentNoteWFManager = confirmPaymentNoteWFManager;
 }
 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;
 }
 public void Setup()
 {
     _testHelper = ObjectFactory.GetInstance<TestHelper>();
     _productPricingTierRepository = _testHelper.Ioc<IProductPricingTierRepository>();
 }
Esempio n. 14
0
        public InsertPHDTestData(IOutletPriorityRepository outletPriorityRepository,
         IOutletVisitDayRepository outletVisitDayRepository, IProductDiscountGroupFactory productDiscountGroupFactory,
         ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory,
         ICustomerDiscountFactory customerDiscountFactory,
         IPromotionDiscountFactory promotionDiscountFactory,
         IProductDiscountGroupRepository productDiscountGroupRepository,
         IPromotionDiscountRepository promotionDiscountRepository,
         IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository,
         ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository,IDiscountGroupRepository discountGroupRepository,IAssetStatusRepository assetStatusRepository,
        IAssetCategoryRepository assetCategoryRepository,
IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository, IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository, IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository, IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository, IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository, IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository, IProducerRepository producerRepository,  IDocumentFactory documentFactory, ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository, IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository,  ITerritoryRepository territoryRepository,    IAreaRepository areaRepository, IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository, IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository, ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository, ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository, IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository, IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory, ISaleValueDiscountRepository saleValueDiscountRepository/*, IContainmentRepository containmentRepository*/, ISalesmanRouteRepository salesmanRouteRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository,IContactTypeRepository contactTypeRepository)
        {
            _productTypeRepository = productTypeRepository;
            _productBrandRepository = productBrandRepository;
            _productFlavourRepository = productFlavourRepository;
            _productPackagingRepository = productPackagingRepository;
            _productPackagingTypeRepository = productPackagingTypeRepository;
            _productRepository = productRepository;
            _regionRepository = regionRepository;
            _costCentreRepository = costCentreRepository;
            _costCentreFactory = costCentreFactory;
            _pricingRepository = pricingRepository;
            _vatClassRepository = vatClassRepository;
            _vatClassFactory = vatClassFactory;
            _countryRepository = countryRepository;
            _productPricingFactory = productPricingFactory;
            _ProductPricingTierRepository = productPricingTierRepository;
            _outletTypeRepository = outletTypeRepository;
            _userRepository = userRepository;
            _outletRepository = outletRepository;
            _routeRepository = routeRepository;
            _routeFactory = routeFactory;
            _transporterRepository = transporterRepository;
            _productFactory = productFactory;
            _distributorSalesmanRepository = distributorSalesmanRepository;
            _producerRepository = producerRepository;
            _documentFactory = documentFactory;
            _socioEconomicStatusRepository = socioEconomicStatusRepository;
            _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository;
            _distributorrepository = distributorrepository;
            _outletCategoryRepository = outletCategoryRepository;
            _territoryRepository = territoryRepository;
            
            _areaRepository = areaRepository;
            _contactRepository = contactRepository;
            _accountRepository = accountRepository;
            _accountTransactionRepository = accountTransactionRepository;
            _inventoryRepository = inventoryRepository;
            _inventoryTransactionRepository = inventoryTransactionRepository;
            _costCentreApplicationRepository = costCentreApplicationRepository;
            _channelPackagingRepository = channelPackagingRepository;
            _competitorRepository = competitorRepository;
            _competitorProductRepository = competitorProductRepository;
            _coolerRepository = coolerRepository;
            _coolerTypeRepository = coolerTypeRepository;
            _districtRepository = districtRepository;
            _provinceRepository = provinceRepository;
            _reorderLevelRepository = reorderLevelRepository;
            _targetPeriodRepository = targetPeriodRepository;
            _targetRepository = targetRepository;
            _productDiscountFactory = productDiscountFactory;
            _productDiscountRepository = productDiscountRepository;
            _saleValueDiscountFactory = saleValueDiscountFactory;
            _saleValueDiscountRepository = saleValueDiscountRepository;
            //_containmentRepository = containmentRepository;
            _salesmanRouteRepository = salesmanRouteRepository;
            _userGroupRepository = userGroupRepository;
            _userGroupRolesRepository = userGroupRolesRepository;
           
            _contactTypeRepository = contactTypeRepository;
            _assetCategoryRepository = assetCategoryRepository;
            _assetStatusRepository = assetStatusRepository;
            _discountGroupRepository = discountGroupRepository; 
            _discountGroupRepository = discountGroupRepository;
            _productDiscountGroupFactory = productDiscountGroupFactory;
            _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory;
            _customerDiscountFactory = customerDiscountFactory;
            _promotionDiscountFactory = promotionDiscountFactory;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
            _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
            _outletPriorityRepository = outletPriorityRepository;
            _outletVisitDayRepository = outletVisitDayRepository;

        }
 public MasterDataEnvelopeBuilder(IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository,
     IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, 
     IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreApplicationRepository costCentreApplicationRepository, 
     IProductPricingRepository pricingRepository, IVATClassRepository vatClassRepository, IProductPricingTierRepository productPricingTierRepository, 
     ICountryRepository countryRepository, IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository, 
     IRouteRepository routeRepository, ITransporterRepository transporterRepository, IDistributorSalesmanRepository distributorSalesmanRepository, 
     IProducerRepository producerRepository, IDistributorRepository distributorrepository, ISocioEconomicStatusRepository socioEconomicStatusRepository, 
     IOutletCategoryRepository outletCategoryRepository, ITerritoryRepository territoryRepository, IAreaRepository areaRepository, IContactRepository contactRepository, 
     IDistributorPendingDispatchWarehouseRepository distributorPendingDispatchWarehouseRepository, IChannelPackagingRepository channelPackagingRepository, 
     ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductsRepository, IAssetRepository coolerRepository, 
     IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository, IReOrderLevelRepository reorderLevelRepository, 
     ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IProductDiscountRepository productDiscountRepository, 
     ISaleValueDiscountRepository saleValueDiscountRepository, IDiscountGroupRepository discountGroupRepository, IPromotionDiscountRepository promotionDiscountRepository, 
     ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository, IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository, 
     IProductDiscountGroupRepository productDiscountGroupRepository, ISalesmanRouteRepository salesmanRouteRepository, IContainmentRepository containmentRepository, 
     IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, 
     ISupplierRepository supplierRepository, IContactTypeRepository contactTypeRepository, 
     IAssetCategoryRepository assetCategoryRepository, IAssetStatusRepository assetStatusRepository, IOutletVisitDayRepository outletVisitDayRepository, 
     IOutletPriorityRepository outletPriorityRepository, ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository, 
     IInventoryRepository inventoryRepository, IPaymentTrackerRepository paymentTrackerRepository, IRetireDocumentSettingRepository retireDocumentSettingRepository, 
     ICommodityTypeRepository commodityTypeRepository, ICommodityRepository commodityRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, 
     ICommodityProducerRepository commodityProducerRepository, ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerRepository commodityOwnerRepository, 
     ICentreRepository centreRepository, IHubRepository hubRepository, IPurchasingClerkRepository purchasingClerkRepository, 
     IPurchasingClerkRouteRepository purchasingClerkRouteRepository, ICentreTypeRepository centreTypeRepository, IEquipmentRepository equipmentRepository, 
     IStoreRepository storeRepository, IMasterDataAllocationRepository masterDataAllocationRepository, IContainerTypeRepository containerTypeRepository, IVehicleRepository vehicleRepository)
 {
     _productTypeRepository = productTypeRepository;
     _productBrandRepository = productBrandRepository;
     _productFlavourRepository = productFlavourRepository;
     _productPackagingRepository = productPackagingRepository;
     _productPackagingTypeRepository = productPackagingTypeRepository;
     _productRepository = productRepository;
     _regionRepository = regionRepository;
     _costCentreRepository = costCentreRepository;
     _costCentreApplicationRepository = costCentreApplicationRepository;
     _pricingRepository = pricingRepository;
     _vatClassRepository = vatClassRepository;
     _ProductPricingTierRepository = productPricingTierRepository;
     _countryRepository = countryRepository;
     _outletTypeRepository = outletTypeRepository;
     _userRepository = userRepository;
     _outletRepository = outletRepository;
     _routeRepository = routeRepository;
     _transporterRepository = transporterRepository;
     _distributorSalesmanRepository = distributorSalesmanRepository;
     _producerRepository = producerRepository;
     _distributorrepository = distributorrepository;
     _socioEconomicStatusRepository = socioEconomicStatusRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _territoryRepository = territoryRepository;
     _areaRepository = areaRepository;
     _contactRepository = contactRepository;
     _distributorPendingDispatchWarehouseRepository = distributorPendingDispatchWarehouseRepository;
     _channelPackagingRepository = channelPackagingRepository;
     _competitorRepository = competitorRepository;
     _competitorProductsRepository = competitorProductsRepository;
     _coolerRepository = coolerRepository;
     _coolerTypeRepository = coolerTypeRepository;
     _districtRepository = districtRepository;
     _provinceRepository = provinceRepository;
     _reorderLevelRepository = reorderLevelRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _targetRepository = targetRepository;
     _productDiscountRepository = productDiscountRepository;
     _saleValueDiscountRepository = saleValueDiscountRepository;
     _discountGroupRepository = discountGroupRepository;
     _promotionDiscountRepository = promotionDiscountRepository;
     _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
     _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
     _productDiscountGroupRepository = productDiscountGroupRepository;
     _salesmanRouteRepository = salesmanRouteRepository;
     _containmentRepository = containmentRepository;
     _userGroupRepository = userGroupRepository;
     _userGroupRolesRepository = userGroupRolesRepository;
     _bankRepository = bankRepository;
     _bankBranchRepository = bankBranchRepository;
     _supplierRepository = supplierRepository;
     _contactTypeRepository = contactTypeRepository;
     _assetCategoryRepository = assetCategoryRepository;
     _assetStatusRepository = assetStatusRepository;
     _outletVisitDayRepository = outletVisitDayRepository;
     _outletPriorityRepository = outletPriorityRepository;
     _targetItemRepository = targetItemRepository;
     _settingsRepository = settingsRepository;
     _inventoryRepository = inventoryRepository;
     _paymentTrackerRepository = paymentTrackerRepository;
     _retireDocumentSettingRepository = retireDocumentSettingRepository;
     _commodityTypeRepository = commodityTypeRepository;
     _commodityRepository = commodityRepository;
     _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
     _commodityProducerRepository = commodityProducerRepository;
     _commoditySupplierRepository = commoditySupplierRepository;
     _commodityOwnerRepository = commodityOwnerRepository;
     _centreRepository = centreRepository;
     _hubRepository = hubRepository;
     _purchasingClerkRepository = purchasingClerkRepository;
     _purchasingClerkRouteRepository = purchasingClerkRouteRepository;
     _centreTypeRepository = centreTypeRepository;
     _equipmentRepository = equipmentRepository;
     _storeRepository = storeRepository;
     _masterDataAllocatioRepository = masterDataAllocationRepository;
     _containerTypeRepository = containerTypeRepository;
     _vehicleRepository = vehicleRepository;
 }
Esempio n. 16
0
 public DTOToEntityMapping(IProductPricingRepository productPricingRepository,IProductTypeRepository productTypeRepository, IRegionRepository regionRepository, IContactTypeRepository contactTypeRepository,
      IUserRepository userRepository, IProductPricingTierRepository pricingTierRepository, IRouteRepository routeRepository,
     IOutletCategoryRepository outletCategoryRepository, IOutletTypeRepository outletTypeRepository, IContactRepository contactRepository, IDiscountGroupRepository discountGroupRepository,
     IVATClassRepository vatClassRepository, IDistributorRepository distributorRepository, ICountryRepository countryRepository, ISupplierRepository supplierRepository,
     IProductBrandRepository productBrandRepository, IProductRepository productRepository, IProductFlavourRepository productFlavourRepository, IUserGroupRepository userGroupRepository,
     ICostCentreRepository costCentreRepository, IProvincesRepository provincesRepository, ITargetPeriodRepository targetPeriodRepository, IAssetCategoryRepository assetCategoryRepository,
     IAssetStatusRepository assetStatusRepository, IAssetTypeRepository assetTypeRepository, IProductPackagingRepository productPackagingRepository, IBankRepository bankRepository,
     ICompetitorRepository competitorRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IContainmentRepository containmentRepository, ITargetRepository targetRepository,
     ICommodityTypeRepository commodityTypeRepository, ICommodityRepository commodityRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, ICommodityProducerRepository commodityProducerRepository,
     ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerRepository commodityOwnerRepository, ICentreRepository centreRepository, IHubRepository hubRepository, IPurchasingClerkRepository purchasingClerkRepository,
     ICentreTypeRepository centreTypeRepository, IContainerTypeRepository containerTypeRepository, IVehicleRepository vehicleRepository
     )
 {
     _productTypeRepository = productTypeRepository;
     _regionRepository = regionRepository;
     _contactTypeRepository = contactTypeRepository;
    // _maritalStatusRepository = maritalStatusRepository;
     _userRepository = userRepository;
     _pricingTierRepository = pricingTierRepository;
     _routeRepository = routeRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _outletTypeRepository = outletTypeRepository;
     _contactRepository = contactRepository;
     _discountGroupRepository = discountGroupRepository;
     _vatClassRepository = vatClassRepository;
     _distributorRepository = distributorRepository;
     _countryRepository = countryRepository;
     _supplierRepository = supplierRepository;
     _productBrandRepository = productBrandRepository;
     _productRepository = productRepository;
     _productFlavourRepository = productFlavourRepository;
     _userGroupRepository = userGroupRepository;
     _costCentreRepository = costCentreRepository;
     _provincesRepository = provincesRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _assetCategoryRepository = assetCategoryRepository;
     _assetStatusRepository = assetStatusRepository;
     _assetTypeRepository = assetTypeRepository;
     _productPackagingRepository = productPackagingRepository;
     _bankRepository = bankRepository;
     _competitorRepository = competitorRepository;
     _productPackagingTypeRepository = productPackagingTypeRepository;
     _containmentRepository = containmentRepository;
     _productPricingRepository = productPricingRepository;
     _targetRepository = targetRepository;
     _commodityTypeRepository = commodityTypeRepository;
     _commodityRepository = commodityRepository;
     _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
     _commodityProducerRepository = commodityProducerRepository;
     _commoditySupplierRepository = commoditySupplierRepository;
     _commodityOwnerRepository = commodityOwnerRepository;
     _centreRepository = centreRepository;
     _hubRepository = hubRepository;
     _purchasingClerkRepository = purchasingClerkRepository;
     _centreTypeRepository = centreTypeRepository;
     _containerTypeRepository = containerTypeRepository;
     _vehicleRepository = vehicleRepository;
     //SetupAutomapperMappings();
 }
 public ProductPricingTierViewModelBuilder(IProductPricingTierRepository productPricingTierRepository)
 {
     _productPricingTierRepository = productPricingTierRepository;
 }
        //protected IBankRepository _bankRepository;
        //protected IBankBranchRepository _bankBranchRepository;
        #region Constructors
        public InsertDeploymentData(IOutletPriorityRepository outletPriorityRepository,
                                    IOutletVisitDayRepository outletVisitDayRepository, IAssetStatusRepository assetStatusRepository,
                                    IAssetCategoryRepository assetCategoryRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, ISalesmanRouteRepository salesmanRouteRepository, ISalesmanSupplierRepository salesmanSupplierRepository, IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository,
                                    IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository,
                                    IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository,
                                    IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository,
                                    IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository,
                                    IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository,
                                    IProducerRepository producerRepository, IDocumentFactory documentFactory,
                                    ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository,
                                    IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository,
                                    ITerritoryRepository territoryRepository,
                                    IAreaRepository areaRepository,
                                    IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository,
                                    IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository,
                                    ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository,
                                    ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository,
                                    IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository,
                                    IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository,
                                    IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory,
                                    ISaleValueDiscountRepository saleValueDiscountRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository,
                                    ISupplierRepository supplierRepository, ICreatePaymentNoteCommandHandler createLossCommandHandler, IAddPaymentNoteLineItemCommandHandler addLossLineItemCommandHandler, IConfirmPaymentNoteCommandHandler confirmLossCommandHandler,
                                    IContactTypeRepository contactTypeRepository, IDiscountGroupRepository discountGroupRepository, IProductDiscountGroupFactory productDiscountGroupFactory,
                                    ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory,
                                    ICustomerDiscountFactory customerDiscountFactory,
                                    IPromotionDiscountFactory promotionDiscountFactory,
                                    IProductDiscountGroupRepository productDiscountGroupRepository,
                                    IPromotionDiscountRepository promotionDiscountRepository,
                                    IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository,
                                    ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository, ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository
                                    )
        {
            _productTypeRepository          = productTypeRepository;
            _productBrandRepository         = productBrandRepository;
            _productFlavourRepository       = productFlavourRepository;
            _productPackagingRepository     = productPackagingRepository;
            _productPackagingTypeRepository = productPackagingTypeRepository;
            _productRepository            = productRepository;
            _regionRepository             = regionRepository;
            _costCentreRepository         = costCentreRepository;
            _costCentreFactory            = costCentreFactory;
            _pricingRepository            = pricingRepository;
            _vatClassRepository           = vatClassRepository;
            _vatClassFactory              = vatClassFactory;
            _countryRepository            = countryRepository;
            _productPricingFactory        = productPricingFactory;
            _ProductPricingTierRepository = productPricingTierRepository;
            _outletTypeRepository         = outletTypeRepository;
            _userRepository                    = userRepository;
            _outletRepository                  = outletRepository;
            _routeRepository                   = routeRepository;
            _routeFactory                      = routeFactory;
            _transporterRepository             = transporterRepository;
            _productFactory                    = productFactory;
            _distributorSalesmanRepository     = distributorSalesmanRepository;
            _producerRepository                = producerRepository;
            _documentFactory                   = documentFactory;
            _socioEconomicStatusRepository     = socioEconomicStatusRepository;
            _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository;
            _distributorrepository             = distributorrepository;
            _outletCategoryRepository          = outletCategoryRepository;
            _territoryRepository               = territoryRepository;
            _areaRepository                    = areaRepository;
            _contactRepository                 = contactRepository;
            _accountRepository                 = accountRepository;
            _accountTransactionRepository      = accountTransactionRepository;
            _inventoryRepository               = inventoryRepository;
            _inventoryTransactionRepository    = inventoryTransactionRepository;
            _costCentreApplicationRepository   = costCentreApplicationRepository;
            _channelPackagingRepository        = channelPackagingRepository;
            _competitorRepository              = competitorRepository;
            _competitorProductRepository       = competitorProductRepository;
            _coolerRepository                  = coolerRepository;
            _coolerTypeRepository              = coolerTypeRepository;
            _districtRepository                = districtRepository;
            _provinceRepository                = provinceRepository;
            _reorderLevelRepository            = reorderLevelRepository;
            _targetPeriodRepository            = targetPeriodRepository;
            _targetRepository                  = targetRepository;
            _productDiscountFactory            = productDiscountFactory;
            _productDiscountRepository         = productDiscountRepository;
            _saleValueDiscountFactory          = saleValueDiscountFactory;
            _saleValueDiscountRepository       = saleValueDiscountRepository;
            _salesmanRouteRepository           = salesmanRouteRepository;
            _salesmanSupplierRepository        = salesmanSupplierRepository;
            _userGroupRepository               = userGroupRepository;
            _userGroupRolesRepository          = userGroupRolesRepository;
            _bankRepository                    = bankRepository;
            _bankBranchRepository              = bankBranchRepository;
            _supplierRepository                = supplierRepository;
            _createLossCommandHandler          = createLossCommandHandler;
            _addLossLineItemCommandHandler     = addLossLineItemCommandHandler;
            _confirmLossCommandHandler         = confirmLossCommandHandler;

            _contactTypeRepository       = contactTypeRepository;
            _assetCategoryRepository     = assetCategoryRepository;
            _assetStatusRepository       = assetStatusRepository;
            _discountGroupRepository     = discountGroupRepository;
            _productDiscountGroupFactory = productDiscountGroupFactory;
            _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory;
            _customerDiscountFactory        = customerDiscountFactory;
            _promotionDiscountFactory       = promotionDiscountFactory;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _promotionDiscountRepository    = promotionDiscountRepository;
            _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
            _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
            _outletPriorityRepository = outletPriorityRepository;
            _outletVisitDayRepository = outletVisitDayRepository;
            _targetItemRepository     = targetItemRepository;
            _settingsRepository       = settingsRepository;
        }
 public PricingTierImportService(IProductPricingTierRepository repository, IDTOToEntityMapping mappingService, CokeDataContext ctx)
 {
     _repository = repository;
     _mappingService = mappingService;
     _ctx = ctx;
 }
Esempio n. 20
0
        //protected IBankRepository _bankRepository;
        //protected IBankBranchRepository _bankBranchRepository;
        #region Constructors

        public InsertTestData(IOutletVisitReasonsTypeRepository visitReasonsTypeRepository,IActivityTypeRepository activityTypeRepository,IContainerTypeRepository containerTypeRepository, IRetireDocumentSettingRepository retireDocumentSettingRepository, IOutletPriorityRepository outletPriorityRepository,
        IOutletVisitDayRepository outletVisitDayRepository, IAssetStatusRepository assetStatusRepository,
        IAssetCategoryRepository assetCategoryRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, ISalesmanRouteRepository salesmanRouteRepository, IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository,
        IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository,
        IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository,
        IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository,
        IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository,
        IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository,
        IProducerRepository producerRepository,  IDocumentFactory documentFactory,
        ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository,
        IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository, 
        ITerritoryRepository territoryRepository, 
         IAreaRepository areaRepository,
        IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository,
        IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository,
        ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository,
        ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository,
        IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository,
        IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository,
        IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory,
        ISaleValueDiscountRepository saleValueDiscountRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository,
        ISupplierRepository supplierRepository, ICreatePaymentNoteCommandHandler createLossCommandHandler, IAddPaymentNoteLineItemCommandHandler addLossLineItemCommandHandler, IConfirmPaymentNoteCommandHandler confirmLossCommandHandler,
        IContactTypeRepository contactTypeRepository, IDiscountGroupRepository discountGroupRepository, IProductDiscountGroupFactory productDiscountGroupFactory,
        ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory,
        ICustomerDiscountFactory customerDiscountFactory,
        IPromotionDiscountFactory promotionDiscountFactory,
        IProductDiscountGroupRepository productDiscountGroupRepository,
        IPromotionDiscountRepository promotionDiscountRepository,
        IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository,
        ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository,
        ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository, 
        ICentreRepository centreRepository, ICentreTypeRepository centreTypeRepository, 
        ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, 
        ICommodityOwnerRepository commodityOwnerRepository, ICommodityProducerRepository commodityProducerRepository, 
        ICommodityRepository commodityRepository, ICommodityTypeRepository commodityTypeRepository,
        IEquipmentRepository equipmentRepository, IMasterDataAllocationRepository masterDataAllocationRepository,IVehicleRepository vehicleRepository,IHubRepository hubRepository,
        IPurchasingClerkRouteRepository purchasingClerkRouteRepository,IInfectionRepository infectionRepository,ISeasonRepository seasonRepository,IServiceProviderRepository serviceProviderRepository,IServiceRepository serviceRepository,IShiftRepository shiftRepository,ISalesmanSupplierRepository salesmanSupplierRepository
            )
        {
            _salesmanSupplierRepository = salesmanSupplierRepository;
            _productTypeRepository = productTypeRepository;
            _productBrandRepository = productBrandRepository;
            _productFlavourRepository = productFlavourRepository;
            _productPackagingRepository = productPackagingRepository;
            _productPackagingTypeRepository = productPackagingTypeRepository;
            _productRepository = productRepository;
            _regionRepository = regionRepository;
            _costCentreRepository = costCentreRepository;
            _costCentreFactory = costCentreFactory;
            _pricingRepository = pricingRepository;
            _vatClassRepository = vatClassRepository;
            _vatClassFactory = vatClassFactory;
            _countryRepository = countryRepository;
            _productPricingFactory = productPricingFactory;
            _ProductPricingTierRepository = productPricingTierRepository;
            _outletTypeRepository = outletTypeRepository;
            _userRepository = userRepository;
            _outletRepository = outletRepository;
            _routeRepository = routeRepository;
            _routeFactory = routeFactory;
            _transporterRepository = transporterRepository;
            _productFactory = productFactory;
            _distributorSalesmanRepository = distributorSalesmanRepository;
            _producerRepository = producerRepository;
            _documentFactory = documentFactory;
            _socioEconomicStatusRepository = socioEconomicStatusRepository;
            _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository;
            _distributorrepository = distributorrepository;
            _outletCategoryRepository = outletCategoryRepository;
            //_createOrderCommandHandler = createOrderCommandHandler;
            _territoryRepository = territoryRepository;
            _areaRepository = areaRepository;
            _contactRepository = contactRepository;
            _accountRepository = accountRepository;
            _accountTransactionRepository = accountTransactionRepository;
            _inventoryRepository = inventoryRepository;
            _inventoryTransactionRepository = inventoryTransactionRepository;
            _costCentreApplicationRepository = costCentreApplicationRepository;
            _channelPackagingRepository = channelPackagingRepository;
            _competitorRepository = competitorRepository;
            _competitorProductRepository = competitorProductRepository;
            _coolerRepository = coolerRepository;
            _coolerTypeRepository = coolerTypeRepository;
            _districtRepository = districtRepository;
            _provinceRepository = provinceRepository;
            _reorderLevelRepository = reorderLevelRepository;
            _targetPeriodRepository = targetPeriodRepository;
            _targetRepository = targetRepository;
            _productDiscountFactory = productDiscountFactory;
            _productDiscountRepository = productDiscountRepository;
            _saleValueDiscountFactory = saleValueDiscountFactory;
            _saleValueDiscountRepository = saleValueDiscountRepository;
            _salesmanRouteRepository = salesmanRouteRepository;
            _userGroupRepository = userGroupRepository;
            _userGroupRolesRepository = userGroupRolesRepository;
            _bankRepository = bankRepository;
            _bankBranchRepository = bankBranchRepository;
            _supplierRepository = supplierRepository;
            _createLossCommandHandler = createLossCommandHandler;
            _addLossLineItemCommandHandler = addLossLineItemCommandHandler;
            _confirmLossCommandHandler = confirmLossCommandHandler;
           
            _contactTypeRepository = contactTypeRepository;
            _assetCategoryRepository = assetCategoryRepository;
            _assetStatusRepository = assetStatusRepository;
            _discountGroupRepository = discountGroupRepository;
            _productDiscountGroupFactory = productDiscountGroupFactory;
            _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory;
            _customerDiscountFactory = customerDiscountFactory;
            _promotionDiscountFactory = promotionDiscountFactory;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _promotionDiscountRepository = promotionDiscountRepository;
            _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
            _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
            _outletPriorityRepository = outletPriorityRepository;
            _outletVisitDayRepository = outletVisitDayRepository;
            _targetItemRepository = targetItemRepository;
            _settingsRepository = settingsRepository;
            _retireDocumentSettingRepository = retireDocumentSettingRepository;
            _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
            _commodityOwnerRepository = commodityOwnerRepository;
            _commoditySupplierRepository = commoditySupplierRepository;
            _centreTypeRepository = centreTypeRepository;
            _centreRepository = centreRepository;
            _commodityProducerRepository = commodityProducerRepository;
            _commodityRepository = commodityRepository;
            _commodityTypeRepository = commodityTypeRepository;
            _equipmentRepository = equipmentRepository;
            _masterDataAllocationRepository = masterDataAllocationRepository;
            _containerTypeRepository = containerTypeRepository;
            _hubRepository = hubRepository;
            _vehicleRepository = vehicleRepository;
            _purchasingClerkRouteRepository = purchasingClerkRouteRepository;
            _ShiftRepository = shiftRepository;
            _SeasonRepository = seasonRepository;
            _ServiceProviderRepository = serviceProviderRepository;
            _ServiceRepository = serviceRepository;
            _InfectionRepository = infectionRepository;
            _activityTypeRepository = activityTypeRepository;
            _outletVisitReasonsTypeRepository = visitReasonsTypeRepository;
        }
Esempio n. 21
0
 public PricingImporterService(IProductPricingRepository productPricingRepository, CokeDataContext context, IProductPricingTierRepository productPricingTierRepository)
 {
     _productPricingRepository = productPricingRepository;
     _context = context;
     _productPricingTierRepository = productPricingTierRepository;
 }
 public SaleValueDiscountViewModelBuilder(IProductPricingTierRepository productPricingTierRepository, ISaleValueDiscountRepository saleValueDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory)
 {
     _productPricingTierRepository = productPricingTierRepository;
     _saleValueDiscountRepository = saleValueDiscountRepository;
     _saleValueDiscountFactory = saleValueDiscountFactory;
 }