示例#1
0
 public JobsController(IJobRepository jobRepository, IDistrictRepository districtRepository, IClientRepository clientRepository, IUnitofWork unitOfWork)
 {
     _jobRepository      = jobRepository;
     _districtRepository = districtRepository;
     _clientRepository   = clientRepository;
     _unitOfWork         = unitOfWork;
 }
示例#2
0
 public DistrictService()
 {
     if (Repository == null)
     {
         Repository = new DistrictRepository();
     }
 }
示例#3
0
 public TuyenDungDuyetHoSoController(IRegistrationInterviewRepository registrationInterviewRepository, IProvinceRepository provinceRepository, IDistrictRepository districtRepository, IWardRepository wardRepository, IHinhThucDaoTaoRepository hinhThucDaoTaoRepository, IBangTotNghiepRepository bangTotNghiepRepository, IChuyenNganhDaoTaoRepository chuyenNganhDaoTaoRepository, ITrinhDoCaoNhatRepository trinhDoCaoNhatRepository, ILamViecTrongNganhRepository lamViecTrongNganhRepository, ITrinhDoTinHocRepository trinhDoTinHocRepository, ITrinhDoNgoaiNguRepository trinhDoNgoaiNguRepository, IMonDuTuyenRepository monDuTuyenRepository, IXepLoaiHocLucRepository xepLoaiHocLucRepository, ICapTruongRepository capTruongRepository, ITonGiaoRepository tonGiaoRepository, IDanTocRepository danTocRepository, IDoiTuongUuTienRepository doiTuongUuTienRepository, IThanhPhanBanThanHienTaiRepository thanhPhanBanThanHienTaiRepository, ITruongHopDacBietRepository truongHopDacBietRepository, ITrinhDoNgoaiNguKhacReposittory trinhDoNgoaiNguKhacReposittory, IChungChiNghiepVuSuPhamRepository chungChiNghiepVuSuPhamRepository, IHoSoHopLeRepository hoSoHopLeRepository)
 {
     this.registrationInterviewRepository = registrationInterviewRepository;
     this.provinceRepository                = provinceRepository;
     this.districtRepository                = districtRepository;
     this.wardRepository                    = wardRepository;
     this.hinhThucDaoTaoRepository          = hinhThucDaoTaoRepository;
     this.bangTotNghiepRepository           = bangTotNghiepRepository;
     this.chuyenNganhDaoTaoRepository       = chuyenNganhDaoTaoRepository;
     this.trinhDoCaoNhatRepository          = trinhDoCaoNhatRepository;
     this.lamViecTrongNganhRepository       = lamViecTrongNganhRepository;
     this.trinhDoTinHocRepository           = trinhDoTinHocRepository;
     this.trinhDoNgoaiNguRepository         = trinhDoNgoaiNguRepository;
     this.monDuTuyenRepository              = monDuTuyenRepository;
     this.xepLoaiHocLucRepository           = xepLoaiHocLucRepository;
     this.capTruongRepository               = capTruongRepository;
     this.tonGiaoRepository                 = tonGiaoRepository;
     this.danTocRepository                  = danTocRepository;
     this.doiTuongUuTienRepository          = doiTuongUuTienRepository;
     this.thanhPhanBanThanHienTaiRepository = thanhPhanBanThanHienTaiRepository;
     this.truongHopDacBietRepository        = truongHopDacBietRepository;
     this.trinhDoNgoaiNguKhacReposittory    = trinhDoNgoaiNguKhacReposittory;
     this.chungChiNghiepVuSuPhamRepository  = chungChiNghiepVuSuPhamRepository;
     this.hoSoHopLeRepository               = hoSoHopLeRepository;
 }
示例#4
0
 // khoi tao service
 public DistrictService(
     IDistrictRepository districtRepository,
     IUnitOfWork unitOfWork)
 {
     this._districtRepository = districtRepository;
     this._unitOfWork         = unitOfWork;
 }
 public StudentController(IStudentRepository studentRepository, ICityRepository cityRepository, IDistrictRepository districtRepository, ILessonRepository lessonRepository)
 {
     _studentRepository  = studentRepository;
     _cityRepository     = cityRepository;
     _districtRepository = districtRepository;
     _lessonRepository   = lessonRepository;
 }
示例#6
0
 public RetailDistributionUnitOfWork(IRetailDistributionContext context, IDistrictRepository districtRepository, IVendorRepository vendorRepository, IShopRepository shopRepository)
 {
     this.districtRepository = districtRepository;
     this.vendorRepository   = vendorRepository;
     this.shopRepository     = shopRepository;
     this.context            = context;
 }
 public InHopDongController(ISchoolRepository schoolRepository, IDistrictRepository districtRepository, IWardRepository wardRepository, IHopDongRepository hopDongRepository)
 {
     this.schoolRepository   = schoolRepository;
     this.districtRepository = districtRepository;
     this.wardRepository     = wardRepository;
     this.hopDongRepository  = hopDongRepository;
 }
 public DistrictImportService(IDistrictRepository repository, IDTOToEntityMapping mappingService, CokeDataContext ctx, List<ImportValidationResultInfo> validationResultInfos)
 {
     _repository = repository;
     _mappingService = mappingService;
     _ctx = ctx;
     this.validationResultInfos = validationResultInfos;
 }
示例#9
0
 public CheckoutModel(IReceivingTypeRepository receivingTypeRepository, IShowRoomAddressRepository showRoomAddressRepository, IAddressRepository addressRepository, IWardRepository wardRepository, IDistrictRepository districtRepository, IProvinceRepository provinceRepository, IItemRepository itemRepository, UserManager <ApplicationUser> userManager,
                      ICartRepository cartRepository, ICartDetailRepository cartDetailRepository,
                      IUserRepository userRepository,
                      IDefaultAddressRepository defaultAddressRepository,
                      IOrderItemRepository orderItemRepository,
                      IOrderRepository orderRepository,
                      IEmailSender emailSender,
                      IRazorViewToStringRenderer razorViewToStringRenderer,
                      DbContextOptions <OnlineStoreDbContext> options)
 {
     _options                   = options;
     _emailSender               = emailSender;
     _itemRepository            = itemRepository;
     _razorViewToStringRenderer = razorViewToStringRenderer;
     _orderItemRepository       = orderItemRepository;
     _orderRepository           = orderRepository;
     _defaultAddressRepository  = defaultAddressRepository;
     _userRepository            = userRepository;
     _cartDetailRepository      = cartDetailRepository;
     _cartRepository            = cartRepository;
     _userManager               = userManager;
     _provinceRepository        = provinceRepository;
     _districtRepository        = districtRepository;
     _wardRepository            = wardRepository;
     _addressRepository         = addressRepository;
     _showRoomAddressRepository = showRoomAddressRepository;
     _receivingTypeRepository   = receivingTypeRepository;
 }
示例#10
0
 public ManagerController(IHopDongRepository hopDongRepository, ISchoolRepository schoolRepository, ICapTruongRepository capTruongRepository, IDistrictRepository districtRepository)
 {
     this.hopDongRepository   = hopDongRepository;
     this.schoolRepository    = schoolRepository;
     this.capTruongRepository = capTruongRepository;
     this.districtRepository  = districtRepository;
 }
示例#11
0
 public LocationService(ICustomerLocationRepository locationRepository, IBookingRepository bookingRepository, ICityRepository cityRepository, IDistrictRepository districtRepository)
 {
     _locationRepository = locationRepository;
     _bookingRepository  = bookingRepository;
     _cityRepository     = cityRepository;
     _districtRepository = districtRepository;
 }
 public DistrictsController(IMapper mapper, IDistrictRepository repository, IUnitOfWork unitOfWork, ILoggerFactory loggerFactory)
 {
     this.mapper     = mapper;
     this.repository = repository;
     this.unitOfWork = unitOfWork;
     this.logger     = loggerFactory.CreateLogger(nameof(DistrictsController));
 }
示例#13
0
 public ClientController(IClientRepository clientRep, IDistrictRepository districtRep, IAddressRepository addressRep, ICityRepository cityRep)
 {
     this._clientRep   = clientRep;
     this._districtRep = districtRep;
     this._addressRep  = addressRep;
     this._cityRep     = cityRep;
 }
 public DistrictViewModelBuilder( ICountryRepository countryRepository,
 IProvincesRepository provinceRepository,
 IDistrictRepository districtRepository)
 {
     _countryRepository = countryRepository;
     _provinceRepository = provinceRepository;
     _districtRepository = districtRepository;
 }
示例#15
0
 /// <summary>
 /// Nơi nhận "công nhân" và phân phối đến từng nơi cần để làm việc
 /// </summary>
 /// <param name="countryRepository">Chuyển đến "kho" country</param>
 /// <param name="districtRepository">Chuyển đến "kho" district</param>
 /// <param name="provinceRepository">Chuyển đến "kho" province</param>
 /// <param name="storeRepository">Chuyển đến "kho" store</param>
 /// <param name="wardRepository">Chuyển đến "kho" ward</param>
 public UnitOfWork(ICountryRepository countryRepository, IDistrictRepository districtRepository, IProvinceRepository provinceRepository, IStoreRepository storeRepository, IWardRepository wardRepository)
 {
     CountryRepository  = countryRepository;
     DistrictRepository = districtRepository;
     ProvinceRepository = provinceRepository;
     StoreRepository    = storeRepository;
     WardRepository     = wardRepository;
 }
示例#16
0
 public StatisticService(IDistrictRepository districtRepository, IPORepository poRepository, ITransactionRepository transactionRepository, IStatisticRepository statisticRepository, IApplicationUserRepository userRepository)
 {
     _transactionRepository = transactionRepository;
     _statisticRepository   = statisticRepository;
     _userRepository        = userRepository;
     _poRepository          = poRepository;
     _districtRepository    = districtRepository;
 }
示例#17
0
 public TransactionService(IDistrictRepository districtRepository, ITransactionRepository transactionRepository, IUnitOfWork unitOfWork, IApplicationUserRepository userRepository, IApplicationGroupRepository groupRepository)
 {
     _transactionRepository = transactionRepository;
     _unitOfWork            = unitOfWork;
     _userRepository        = userRepository;
     _groupRepository       = groupRepository;
     _districtRepository    = districtRepository;
 }
示例#18
0
 public AddCommandHandler(IDistrictRepository districtRepository, IDistrictQueries districtQueries, IProvinceQueries provinceQueries, IRegionQueries regionQueries, ICountryQueries countryQueries)
 {
     this.districtRepository = districtRepository;
     this.districtQueries    = districtQueries;
     this.provinceQueries    = provinceQueries;
     this.regionQueries      = regionQueries;
     this.countryQueries     = countryQueries;
 }
示例#19
0
 public UbigeoManager(IProvinceRepository provinceRepository
                      , IDistrictRepository districtRepository
                      , IDepartmentRepository departmentRepository)
 {
     _provinceRepository   = provinceRepository;
     _districtRepository   = districtRepository;
     _departmentRepository = departmentRepository;
 }
示例#20
0
 public UserController(IAddressRepository addressRep, IDistrictRepository districtRep, ICityRepository cityRep)
 {
     this._addressRep  = addressRep;
     this._districtRep = districtRep;
     this._cityRep     = cityRep;
     _db          = new ApplicationDbContext();
     _userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(_db));
     _roleManager = new RoleManager <IdentityRole>(new RoleStore <IdentityRole>(_db));
 }
示例#21
0
 public EnumManager(
     IProvinceRepository provinceRepository,
     IDistrictRepository districtRepository,
     ISubDistrictRepository subDistrictRepository)
 {
     _provinceRepository    = provinceRepository;
     _districtRepository    = districtRepository;
     _subDistrictRepository = subDistrictRepository;
 }
示例#22
0
        public Form1()
        {
            InitializeComponent();

            _cityRepository     = new CityRepository();
            _districtRepository = new DistrictRepository();
            this.Load          += MainFormLoaded;
            dataGridView1.AutoGenerateColumns = true;
        }
示例#23
0
 public CommonService(IProvinceRepository roomRepository, IDistrictRepository districtRepository, IWardRepository wardRepository, IUnitOfWork unitOfWork,
                      IAuditLogRepository audilogRepository)
 {
     this._provinceRepository = roomRepository;
     this._districtRepository = districtRepository;
     this._wardRepository     = wardRepository;
     this._audilogRepository  = audilogRepository;
     this._unitOfWork         = unitOfWork;
 }
 public RegionViewModelBuilder(IRegionRepository regionRepository, ICountryRepository countryRepository,IDistrictRepository districtRepository,
 IProvincesRepository provinceRepository, IMasterDataUsage masterDataUsage)
 {
     _regionRepository = regionRepository;
     _countryRepository = countryRepository;
     _provinceRepository = provinceRepository;
     _districtRepository = districtRepository;
     _masterDataUsage = masterDataUsage;
 }
示例#25
0
 public CartController(IProvinceRepository provinceRepository,
                       IDistrictRepository districtRepository,
                       IWardRepository wardRepository,
                       IPaymentMethodRepository paymentMethodRepository)
 {
     _provinceRepository      = provinceRepository;
     _districtRepository      = districtRepository;
     _wardRepository          = wardRepository;
     _paymentMethodRepository = paymentMethodRepository;
 }
示例#26
0
 public DistrictService(
     IDistrictRepository districtRepository,
     IProvinceRepository provinceRepository,
     IMapper mapper,
     IUnitOfWork uow
     ) : base(mapper, uow)
 {
     _districtRepository = districtRepository;
     _provinceRepository = provinceRepository;
 }
示例#27
0
 public AddressBusiness(IMapper mapper,
                        ICountryRepository countryRepository,
                        IProvinceRepository provinceRepository,
                        IDistrictRepository districtRepository)
 {
     _mapper             = mapper;
     _countryRepository  = countryRepository;
     _provinceRepository = provinceRepository;
     _districtRepository = districtRepository;
 }
 public CountriesController(ICountryRepository countryRepository,
                            IConverterHelper converterHelper,
                            IDistrictRepository districtRepository,
                            ICityRepository cityRepository)
 {
     _countryRepository  = countryRepository;
     _converterHelper    = converterHelper;
     _districtRepository = districtRepository;
     _cityRepository     = cityRepository;
 }
示例#29
0
 public HomeController(
     IGasStationRepository gasStationRepository,
     IMTypeRepository mTypeRepository,
     IDistrictRepository districtRepository
     )
 {
     _gasStationRepository = gasStationRepository;
     _mTypeRepository      = mTypeRepository;
     _districtRepository   = districtRepository;
 }
示例#30
0
 public PoliceManager(IPoliceRepository policeRepository
                      , IDepartmentRepository departmentRepository
                      , IDistrictRepository districtRepository
                      , IProvinceRepository provinceRepository)
 {
     _policeRepository     = policeRepository;
     _departmentRepository = departmentRepository;
     _districtRepository   = districtRepository;
     _provinceRepository   = provinceRepository;
 }
示例#31
0
 public RegistrationController(IBlockRepository blockRepository,
                               IDistrictRepository districtRepository, IPostRepository postRepository, IUnitofWork unitOfWork, IRegistrationRepository registrationRepo, IPaymentRepository paymentRepository)
 {
     _blockRepository        = blockRepository;
     _districtRepository     = districtRepository;
     _postRepository         = postRepository;
     _registrationRepository = registrationRepo;
     _paymentRepository      = paymentRepository;
     this.unitOfWork         = unitOfWork;
 }
示例#32
0
 public RentsController(IRentsRepository rentsRep, IClientRepository clientRep, IDistrictRepository districtRep,
                        IAddressRepository addressRep, ICityRepository cityRep, ICarRepository carRep, IDiscountRepository discountRep)
 {
     _clientRep   = clientRep;
     _districtRep = districtRep;
     _addressRep  = addressRep;
     _cityRep     = cityRep;
     _rentsRep    = rentsRep;
     _carRep      = carRep;
     _discountRep = discountRep;
 }
 public UnitOfWork(IStoreRepository store,
                   ICountryRepository country,
                   IProvinceRepository province,
                   IDistrictRepository district,
                   IWardRepository ward)
 {
     Store    = store;
     Country  = country;
     Province = province;
     District = district;
     Ward     = ward;
 }
 public DistrictService(IDistrictRepository districtRepository, IUnitOfWork unitOfWork)
 {
     this._districtRepository = districtRepository;
     this._unitOfWork = unitOfWork;
 }
        public void Setup()
        {
            _testHelper = ObjectFactory.GetInstance<TestHelper>();

            _districtRepository = _testHelper.Ioc<IDistrictRepository>();
        }
示例#36
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;
        }
示例#37
0
 public DistrictService(IDistrictRepository repository)
 {
     this._repository = repository;
 }
示例#38
0
 public DataManager(IDistrictRepository districtRepository,
     ILocalityRepository localityRepository,
     IStreetRepository streetRepository,
     IHouseRepository houseRepository,
     IMunicipalityRepository municipalityRepository,
     IPersonRepository personRepository,
     INationalityRepository nationalityRepository,
     IEducationRepository educationRepository,
     IOrganizationRepository organizationRepository,
     IMunicipalityHouseRelationRepository municipalityHouseRelationRepository,
     IRegistrationRepository registrationRepository,
     IPartyRepository partyRepository,
     IPrecinctRepository precinctRepository,
     IUserRepository userRepository,
     IWorkerRepository workerRepository,
     IVoterPartyRelationRepository voterPartyRelationRepository,
     IVoterRepository voterRepository,
     IUserLogRepository userLogRepository,
     IRelationshipRepository relationshipRepository,
     IPersonRelationRepository personRelationRepository,
     ICandidateRepository candidateRepository,
     IAgitatorRepository agitatorRepository,
     IWorkerHouseRelationRepository workerHouseRelationRepository,
     IAgitatorHouseRelationRepository agitatorHouseRelationRepository,
     IAgitatorPrecinctRelationRepository agitatorPrecinctRelationRepository,
     ICandidatePrecinctRelationRepository candidatePrecinctRelationRepository,
     ICandidateMunicipalityRelationRepository candidateMunicipalityRelationRepository,
     ITempPersonRepository tempPersonRepository,
     IGEORepository geoRepository,
     IPartyMemberRepository partyMemberRepository,
     IPartySupporterRepository partySupporterRepository)
 {
     this.districtRepository = districtRepository;
     this.municipalityRepository = municipalityRepository;
     this.personRepository = personRepository;
     this.localityRepository = localityRepository;
     this.nationalityRepository = nationalityRepository;
     this.streetRepository = streetRepository;
     this.houseRepository = houseRepository;
     this.educationRepository = educationRepository;
     this.organizationRepository = organizationRepository;
     this.municipalityHouseRelationRepository = municipalityHouseRelationRepository;
     this.registrationRepository = registrationRepository;
     this.partyRepository = partyRepository;
     this.precinctRepository = precinctRepository;
     this.userRepository = userRepository;
     this.workerRepository = workerRepository;
     this.voterPartyRelationRepository = voterPartyRelationRepository;
     this.voterRepository = voterRepository;
     this.userLogRepository = userLogRepository;
     this.relationshipRepository = relationshipRepository;
     this.personRelationRepository = personRelationRepository;
     this.candidateRepository = candidateRepository;
     this.agitatorRepository = agitatorRepository;
     this.workerHouseRelationRepository = workerHouseRelationRepository;
     this.agitatorHouseRelationRepository = agitatorHouseRelationRepository;
     this.agitatorPrecinctRelationRepository = agitatorPrecinctRelationRepository;
     this.candidatePrecinctRelationRepository = candidatePrecinctRelationRepository;
     this.candidateMunicipalityRelationRepository = candidateMunicipalityRelationRepository;
     this.tempPersonRepository = tempPersonRepository;
     this.geoRepository = geoRepository;
     this.partyMemberRepository = partyMemberRepository;
     this.partySupporterRepository = partySupporterRepository;
 }
 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;
 }
示例#40
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;

        }