public AssetViewModelBuilder(IAssetRepository assetRepository, IAssetTypeRepository assetTypeRepository, IAssetCategoryRepository assetCategoryRepository, IAssetStatusRepository assetStatusRepository)
 {
     _assetRepository = assetRepository;
     _assetCategoryRepository = assetCategoryRepository;
     _assetTypeRepository = assetTypeRepository;
     _assetStatusRepository = assetStatusRepository;
 }        
 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;
 }
示例#3
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;
        }
示例#4
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;

        }
示例#5
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 AssetStatusViewModelBuilder(IAssetStatusRepository assetStatusRepository)
 {
     _assetStatusRepository = assetStatusRepository;
 }
        //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 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;
 }