Exemplo n.º 1
0
 public CommodityTypesController(IUnitOfWork unitOfWork, ICommodityTypeRepository commodityTypeRepository, IRedisConnectionFactory cache, IMediator mediator)
 {
     _unitOfWork = unitOfWork;
     _commodityTypeRepository = commodityTypeRepository;
     _cache    = cache;
     _mediator = mediator;
 }
Exemplo n.º 2
0
 public DeleteCommodityTypesCommandHandler(
     ILogger <DeleteCommodityTypesCommandHandler> logger,
     IIdentityService identityService,
     IUnitOfWork unitOfWork,
     IMapper mapper,
     ICommodityTypeRepository commodityConfigurationRepository)
 {
     _unitOfWork              = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     _logger                  = logger ?? throw new ArgumentNullException(nameof(logger));
     _identityService         = identityService ?? throw new ArgumentNullException(nameof(identityService));
     _mapper                  = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _commodityTypeRepository = commodityConfigurationRepository ?? throw new ArgumentNullException(nameof(commodityConfigurationRepository));
 }
 public CommodityViewModelSelectListBuilder(ICommodityCategorySelectListBuilder commodityCategorySelectListBuilder,
     ICommodityCategoryRepository commodityCategoryRepository,
     ICommodityTypeRepository commodityTypeRepository,
     ICommodityTypeSelectListBuilder commodityTypeSelectListBuilder,
     ICustomerRepository customerRepository,
     ICustomerViewModelSelectListBuilder customerViewModelSelectListBuilder)
 {
     this.commodityCategoryRepository = commodityCategoryRepository;
     this.commodityCategorySelectListBuilder = commodityCategorySelectListBuilder;
     this.commodityTypeRepository = commodityTypeRepository;
     this.commodityTypeSelectListBuilder = commodityTypeSelectListBuilder;
     this.customerRepository = customerRepository;
     this.customerViewModelSelectListBuilder = customerViewModelSelectListBuilder;
 }
Exemplo n.º 4
0
 public CommodityViewModelSelectListBuilder(ICommodityCategorySelectListBuilder commodityCategorySelectListBuilder,
                                            ICommodityCategoryRepository commodityCategoryRepository,
                                            ICommodityTypeRepository commodityTypeRepository,
                                            ICommodityTypeSelectListBuilder commodityTypeSelectListBuilder,
                                            ICustomerRepository customerRepository,
                                            ICustomerViewModelSelectListBuilder customerViewModelSelectListBuilder)
 {
     this.commodityCategoryRepository        = commodityCategoryRepository;
     this.commodityCategorySelectListBuilder = commodityCategorySelectListBuilder;
     this.commodityTypeRepository            = commodityTypeRepository;
     this.commodityTypeSelectListBuilder     = commodityTypeSelectListBuilder;
     this.customerRepository = customerRepository;
     this.customerViewModelSelectListBuilder = customerViewModelSelectListBuilder;
 }
        public CommoditySelectListBuilder(ICommodityBrandSelectListBuilder commodityBrandSelectListBuilder, ICommodityBrandRepository commodityBrandRepository, ICommodityCategorySelectListBuilder commodityCategorySelectListBuilder, ICommodityCategoryRepository commodityCategoryRepository, ICommodityTypeSelectListBuilder commodityTypeSelectListBuilder, ICommodityTypeRepository commodityTypeRepository, ICommodityClassSelectListBuilder commodityClassSelectListBuilder, ICommodityClassRepository commodityClassRepository, ICommodityLineSelectListBuilder commodityLineSelectListBuilder, ICommodityLineRepository commodityLineRepository)
        {
            this.commodityBrandSelectListBuilder = commodityBrandSelectListBuilder;
            this.commodityBrandRepository        = commodityBrandRepository;

            this.commodityCategorySelectListBuilder = commodityCategorySelectListBuilder;
            this.commodityCategoryRepository        = commodityCategoryRepository;

            this.commodityTypeSelectListBuilder = commodityTypeSelectListBuilder;
            this.commodityTypeRepository        = commodityTypeRepository;

            this.commodityClassSelectListBuilder = commodityClassSelectListBuilder;
            this.commodityClassRepository        = commodityClassRepository;

            this.commodityLineSelectListBuilder = commodityLineSelectListBuilder;
            this.commodityLineRepository        = commodityLineRepository;
        }
 public CommodityTypeService(ICommodityTypeRepository commodityTypeRepository)
     : base(commodityTypeRepository, null, "CommodityTypeSaveRelative")
 {
 }
Exemplo n.º 7
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;
        }
 public ProductSelectListBuilder(ICommodityBrandSelectListBuilder commodityBrandSelectListBuilder, ICommodityBrandRepository commodityBrandRepository, ICommodityCategorySelectListBuilder commodityCategorySelectListBuilder, ICommodityCategoryRepository commodityCategoryRepository, ICommodityTypeSelectListBuilder commodityTypeSelectListBuilder, ICommodityTypeRepository commodityTypeRepository, ICommodityClassSelectListBuilder commodityClassSelectListBuilder, ICommodityClassRepository commodityClassRepository, ICommodityLineSelectListBuilder commodityLineSelectListBuilder, ICommodityLineRepository commodityLineRepository)
     : base(commodityBrandSelectListBuilder, commodityBrandRepository, commodityCategorySelectListBuilder, commodityCategoryRepository, commodityTypeSelectListBuilder, commodityTypeRepository, commodityClassSelectListBuilder, commodityClassRepository, commodityLineSelectListBuilder, commodityLineRepository)
 {
 }
 public CommodityViewModelBuilder(ICommodityRepository commodityRepository, ICommodityTypeRepository commodityTypeRepository, IMasterDataUsage masterDataUsage)
 {
     _commodityRepository = commodityRepository;
     _commodityTypeRepository = commodityTypeRepository;
     _masterDataUsage = masterDataUsage;
 }
Exemplo n.º 10
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();
 }
Exemplo n.º 11
0
 public CommodityImportService(ICommodityRepository commodityRepository, ICommodityTypeRepository commodityTypeRepository)
 {
     _commodityRepository = commodityRepository;
     _commodityTypeRepository = commodityTypeRepository;
 }
 public CommodityTypeViewModelBuilder(ICommodityTypeRepository commodityTypeRepository, IRegionRepository regionRepository, IMasterDataUsage masterDataUsage)
 {
     _commodityTypeRepository = commodityTypeRepository;
     _regionRepository = regionRepository;
     _masterDataUsage = masterDataUsage;
 }
 public CommodityTypesApiController(ICommodityTypeRepository commodityTypeRepository)
 {
     this.commodityTypeRepository = commodityTypeRepository;
 }
Exemplo n.º 14
0
 public void Commodity_Controller_Constructor_With_Two_Repos_Test()
 {
     IUnitOfWork commodityRepository = this.MockCommodityRepository; // TODO: Initialize to an appropriate value
     ICommodityTypeRepository commodityTypeRepository = null;        // TODO: Initialize to an appropriate value
     CommodityController      target = new CommodityController(commodityRepository);
 }
Exemplo n.º 15
0
 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;
 }
 public CommodityTypeImportService(ICommodityTypeRepository repository, IDTOToEntityMapping mappingService, CokeDataContext ctx)
 {
     _repository = repository;
     _mappingService = mappingService;
     _ctx = ctx;
 }