Пример #1
0
        public AppletType(IAreaRepository _areaRepository)
        {
            Name        = "Applet";
            Description = "Area's Applet";

            Field(x => x.Id).Description("Id of the applet");
            Field(x => x.description).Description("description of the applet's action");
            Field(x => x.IdServiceIn).Description("id of the base service");
            Field <ServiceType>(
                "serviceIn",
                description: "Area's service \"input\"",
                resolve: context =>
            {
                var idServiceIn = context.Source.IdServiceIn;
                return(_areaRepository.GetService(idServiceIn));
            }
                );
            Field(x => x.IdServiceOut).Description("id of the \"output\" service");
            Field <ServiceType>(
                "serviceOut",
                description: "Area's service \"output\"",
                resolve: context =>
            {
                var idServiceOut = context.Source.IdServiceOut;
                return(_areaRepository.GetService(idServiceOut));
            }
                );
        }
Пример #2
0
 public AreaImporterService(CokeDataContext context, IAreaRepository areaRepository, IRegionRepository regionRepository)
 {
     _areaRepository = areaRepository;
     _regionRepository = regionRepository;
     _context = context;
    
 }
Пример #3
0
 public AreaService(IMapper mapper)
 {
     _areaRepository     = new AreaRepository();
     _locationRepository = new LocationRepository();
     _geopointRepository = new GeoPointRepository();
     _mapper             = mapper;
 }
Пример #4
0
 public AreaEntity GetById(
     Guid id,
     [FromServices] IAreaRepository repository
     )
 {
     return(repository.GetById(id));
 }
Пример #5
0
 public CityController(ICountryRepository countryRepository, IAreaRepository areaRepository, ICityRepository cityRepository, IMapper mapper)
 {
     _countryRepository = countryRepository;
     _areaRepository    = areaRepository;
     _cityRepository    = cityRepository;
     _mapper            = mapper;
 }
Пример #6
0
        public SouscriptionType(IAreaRepository _areaRepository)
        {
            Name        = "Souscription";
            Description = "User's souscription";

            Field(x => x.Id).Description("Id Souscription");
            Field(x => x.AppletId).Description("Id of the Service Subscription");
            Field <AppletType>(
                "applet",
                description: "subscription's applet",
                resolve: context =>
            {
                var IdApplet = context.Source.AppletId;
                return(_areaRepository.GetApplet(IdApplet));
            }
                );
            Field(x => x.UserId).Description("Id of the Subscriber");
            Field <ApplicationUserType>(
                "User",
                description: "Subscriber",
                resolve: context =>
            {
                var IdUser = context.Source.UserId;
                return(_areaRepository.GetUser(IdUser));
            }
                );
            Field(x => x.City, nullable: true).Description("Name of the City for weather service");
            Field(x => x.Streamer, nullable: true).Description("Name of the Streamer for Twitch service");
            Field(x => x.FbToken, nullable: true).Description("UserTokenFacebook");
            Field(x => x.FbPageId, nullable: true).Description("Id of the Facebook Page");
            Field(x => x.TwitterToken, nullable: true).Description("UserTokenTwitter");
            Field(x => x.TwitterSecret, nullable: true).Description("UserSecretTwitter");
        }
Пример #7
0
 public SeatingPrioritySetupModel(IAreaRepository areaRepository,
                                  IEmployeeRepository employeeRepository, IEntityFactory entityFactory)
 {
     _areaRepository     = areaRepository;
     _entityFactory      = entityFactory;
     _employeeRepository = employeeRepository;
 }
Пример #8
0
 public AreaService(IAreaRepository _Repository, IAreaCacheService _AreaCacheService, IR_ArearestrictedpersonService _R_ArearestrictedpersonService, IAreaRuleService _AreaRuleService)
 {
     this._Repository       = _Repository;
     this._AreaCacheService = _AreaCacheService;
     this._R_ArearestrictedpersonService = _R_ArearestrictedpersonService;
     this._AreaRuleService = _AreaRuleService;
 }
Пример #9
0
 public AreaService(IMapper mapper, IAreaRepository repository, IUnitOfWork <CommonDbContext> uow, ICacheHandler cache)
 {
     _mapper     = mapper;
     _repository = repository;
     _uow        = uow;
     _cache      = cache;
 }
Пример #10
0
 public EmployedService(IEmployedRepository repoEmployed, IMapper mapper, IAreaRepository repoArea, IDocumentTypeRepository repoDocumentType)
 {
     _repoEmployed     = repoEmployed;
     _repoArea         = repoArea;
     _repoDocumentType = repoDocumentType;
     _mapper           = mapper;
 }
Пример #11
0
 public SeatDispatcherModel(ITimeBoxRepository timeBoxRepository, 
     ISeatBoxRepository seatBoxRepository, IAreaRepository areaRepository)
 {
     _timeBoxRepository = timeBoxRepository;
     _seatBoxRepository = seatBoxRepository;
     _areaRepository = areaRepository;
 }
Пример #12
0
 public SeatingPrioritySetupModel(IAreaRepository areaRepository,
     IEmployeeRepository employeeRepository, IEntityFactory entityFactory)
 {
     _areaRepository = areaRepository;
     _entityFactory = entityFactory;
     _employeeRepository = employeeRepository;
 }
Пример #13
0
 public void Initialize()
 {
     _dbFactory      = new DbFactory();
     _unitOfWork     = new UnitOfWork(_dbFactory);
     _areaRepository = new AreaRepository(_dbFactory);
     _areaService    = new AreaService(_unitOfWork, _areaRepository);
 }
Пример #14
0
 public AreaImportService(IDTOToEntityMapping mappingService, IAreaRepository repository, CokeDataContext ctx)
 {
     _mappingService = mappingService;
     _repository = repository;
     _ctx = ctx;
     validationResultInfos=new List<ImportValidationResultInfo>();
 }
 public AreaController(
     IAreaRepository respository,
     ILogger <AreaController> logger)
 {
     _repository = respository;
     _logger     = logger;
 }
Пример #16
0
 public TableController(IBoxRepository _BoxRepository, IRestaurantRepository _RestaurantRepository, IAreaRepository _AreaRepository, ITableRepository _TableRepository)
 {
     BoxRepository        = _BoxRepository;
     RestaurantRepository = _RestaurantRepository;
     AreaRepository       = _AreaRepository;
     TableRepository      = _TableRepository;
 }
Пример #17
0
 public SeatDispatcherModel(ITimeBoxRepository timeBoxRepository,
                            ISeatBoxRepository seatBoxRepository, IAreaRepository areaRepository)
 {
     _timeBoxRepository = timeBoxRepository;
     _seatBoxRepository = seatBoxRepository;
     _areaRepository    = areaRepository;
 }
Пример #18
0
 public AreaService(IMapper mapper, IAreaRepository repository, ICacheHandler cache, CommonDbContext dbContext)
 {
     _mapper     = mapper;
     _repository = repository;
     _cache      = cache;
     _dbContext  = dbContext;
 }
Пример #19
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="empRepository"></param>
 /// <param name="empStatusRepository"></param>
 /// <param name="companyRepository"></param>
 /// <param name="jobTypeRepository"></param>
 /// <param name="designationRepository"></param>
 /// <param name="desigGradeRepository"></param>
 /// <param name="departmentRepository"></param>
 /// <param name="workplaceRepository"></param>
 /// <param name="countryRepository"></param>
 /// <param name="regionRepository"></param>
 /// <param name="subRegionRepository"></param>
 /// <param name="cityRepository"></param>
 /// <param name="areaRepository"></param>
 /// <param name="phoneTypeRepository"></param>
 /// <param name="licenseTypeRepository"></param>
 /// <param name="operationRepository"></param>
 /// <param name="operationsWorkPlaceRepository"></param>
 public EmployeeService(IEmployeeRepository empRepository, IEmpStatusRepository empStatusRepository, ICompanyRepository companyRepository,
                        IJobTypeRepository jobTypeRepository, IDesignationRepository designationRepository, IDesignGradeRepository desigGradeRepository,
                        IDepartmentRepository departmentRepository, IWorkplaceRepository workplaceRepository, ICountryRepository countryRepository,
                        IRegionRepository regionRepository, ISubRegionRepository subRegionRepository, ICityRepository cityRepository,
                        IAreaRepository areaRepository, IPhoneTypeRepository phoneTypeRepository, ILicenseTypeRepository licenseTypeRepository,
                        IOperationRepository operationRepository, IOperationsWorkPlaceRepository operationsWorkPlaceRepository, IAddressTypeRepository addressTypeRepository,
                        IAddressRepository addressRepository, IPhoneRepository phoneRepository, IEmpJobProgRepository empJobProgRepository,
                        IEmpAuthOperationsWorkplaceRepository empAuthOperationsWorkplaceRepository)
 {
     employeeRepository        = empRepository;
     this.empStatusRepository  = empStatusRepository;
     this.addressRepository    = addressRepository;
     this.phoneRepository      = phoneRepository;
     this.empJobProgRepository = empJobProgRepository;
     this.empAuthOperationsWorkplaceRepository = empAuthOperationsWorkplaceRepository;
     this.companyRepository             = companyRepository;
     this.jobTypeRepository             = jobTypeRepository;
     this.designationRepository         = designationRepository;
     this.desigGradeRepository          = desigGradeRepository;
     this.departmentRepository          = departmentRepository;
     this.workplaceRepository           = workplaceRepository;
     this.regionRepository              = regionRepository;
     this.countryRepository             = countryRepository;
     this.subRegionRepository           = subRegionRepository;
     this.cityRepository                = cityRepository;
     this.areaRepository                = areaRepository;
     this.phoneTypeRepository           = phoneTypeRepository;
     this.licenseTypeRepository         = licenseTypeRepository;
     this.operationRepository           = operationRepository;
     this.operationsWorkPlaceRepository = operationsWorkPlaceRepository;
     this.addressTypeRepository         = addressTypeRepository;
 }
Пример #20
0
 public OrderController(
     IOrderRepository orderRepository,
     IRestaurantRepository restaurantRepository,
     IAreaRepository areaRepository,
     IMarketRepository marketRepository,
     ITableRepository tableRepository,
     IOrderRecordRepository orderRecordRepository,
     IExtendItemRepository extendItemRepository,
     ICustomerRepository customerRepository,
     IUserRepository_Old oldUserRepository,
     IOrderPayRecordRepository payRecordRepository,
     ITableService tableHandlerSers,
     IOrderService orderService,
     IPrinterRepository printerRepository)
 {
     _orderRepository       = orderRepository;
     _restaurantRepository  = restaurantRepository;
     _areaRepository        = areaRepository;
     _marketRep             = marketRepository;
     _tableRep              = tableRepository;
     _orderRecordRepository = orderRecordRepository;
     _extendItemRepository  = extendItemRepository;
     _oldCustRepository     = customerRepository;
     _oldUserRepository     = oldUserRepository;
     _payRep            = payRecordRepository;
     _tableHandlerSers  = tableHandlerSers;
     _orderService      = orderService;
     _printerRepository = printerRepository;
 }
Пример #21
0
 public AreaController(
     IAreaRepository areaRepository,
     IRestaurantRepository restaurantRepository)
 {
     _areaRepository       = areaRepository;
     _restaurantRepository = restaurantRepository;
 }
Пример #22
0
 public ProjectController(
     IProjectRepository projectRepository,
     ICategoryRepository categoryRepository,
     IExtendRepository extendRepository,
     IOrderRepository orderRepository,
     ITableService tableService,
     IAreaRepository areaRepository,
     IExtendItemRepository extendItemRepository,
     IRestaurantCategoryRepository restaurantCategoryRepository,
     IPrinterRepository printerRepository,
     IOrderDetailCauseRepository orderDetailCauseRepository,
     ICustomConfigRepository customConfigRepository)
 {
     _projectRepository            = projectRepository;
     _categoryRepository           = categoryRepository;
     _extendRepository             = extendRepository;
     _orderRepository              = orderRepository;
     _tableServices                = tableService;
     _areaRepository               = areaRepository;
     _extendItemRepository         = extendItemRepository;
     _restaurantCategoryRepository = restaurantCategoryRepository;
     _printerRepository            = printerRepository;
     _orderDetailCauseRepository   = orderDetailCauseRepository;
     _customConfigRepository       = customConfigRepository;
 }
Пример #23
0
 public HomeController(IOrderRepository _OrderRepository, ICategoryRepository _CategoryRepository, ITableRepository _TableRepository, IMarketRepository _MarketRepository, IAreaRepository _AreaRepository)
 {
     OrderRepository    = _OrderRepository;
     TableRepository    = _TableRepository;
     MarketRepository   = _MarketRepository;
     CategoryRepository = _CategoryRepository;
     AreaRepository     = _AreaRepository;
 }
Пример #24
0
 public FetchPlaceCommandHandler(IPlaceTypeRepository placeTypeRepository, IPlaceRepository repository, IUnitOfWork unitOfWork, IMapper mapper, IAreaRepository iAreaRepository)
 {
     _placeTypeRepository = placeTypeRepository;
     _repository          = repository;
     _unitOfWork          = unitOfWork;
     _mapper          = mapper;
     _iAreaRepository = iAreaRepository;
 }
Пример #25
0
 public SeatingServiceModel(ISeatConsolidationRepository seatConsolidationRepository, ISeatBoxRepository seatBoxRepository,
                            ITimeBoxRepository timeBoxRepository, IAreaRepository areaRepository)
 {
     _seatConsolidationRepository = seatConsolidationRepository;
     _seatBoxRepository           = seatBoxRepository;
     _timeBoxRepository           = timeBoxRepository;
     _areaRepository = areaRepository;
 }
Пример #26
0
 public ProfileService(IUnitOfWork uow, IProfileRepository profileRepository, IUserRepository userRepository, IRoleRepository roleRepository, IAreaRepository areaRepository)
 {
     this.uow = uow;
     this.profileRepository = profileRepository;
     this.userRepository    = userRepository;
     this.roleRepository    = roleRepository;
     this.areaRepository    = areaRepository;
 }
Пример #27
0
 public AreaController(IAreaRepository areaRepository, IUserRepository userRepository, IAuditLogRepository auditLogRepository, IDeviceRepository deviceRepository)
     : base(areaRepository)
 {
     this.areaRepository     = areaRepository;
     this.userRepository     = userRepository;
     this.auditLogRepository = auditLogRepository;
     this.deviceRepository   = deviceRepository;
 }
Пример #28
0
 public GarageService(IGarageRepository garageRepository,
                      ICarCategoryRepository carCategoryRepository,
                      IAreaRepository areaRepository)
 {
     _garageRepository      = garageRepository;
     _carCategoryRepository = carCategoryRepository;
     _areaRepository        = areaRepository;
 }
Пример #29
0
 public SeatingServiceModel(ISeatConsolidationRepository seatConsolidationRepository, ISeatBoxRepository seatBoxRepository,
     ITimeBoxRepository timeBoxRepository, IAreaRepository areaRepository)
 {
     _seatConsolidationRepository = seatConsolidationRepository;
     _seatBoxRepository = seatBoxRepository;
     _timeBoxRepository = timeBoxRepository;
     _areaRepository = areaRepository;
 }
Пример #30
0
 public AreaAppService(IMapper mapper,
                       IAreaRepository areaRepository,
                       IMediatorHandler bus)
 {
     _mapper         = mapper;
     _areaRepository = areaRepository;
     Bus             = bus;
 }
Пример #31
0
 public AreaPrintController(
     IAreaRepository areaRepository, IRestaurantRepository restaurantRepository,
     IPrinterRepository printerRepository)
 {
     _areaRepository       = areaRepository;
     _restaurantRepository = restaurantRepository;
     _printerRepository    = printerRepository;
 }
Пример #32
0
 public AddressController(IAddressService addressService, IAddressRepository addressRepository, IProvinceRepository provinceRepository, ICityRepository cityRepository, IAreaRepository areaRepository)
 {
     _addressService     = addressService;
     _provinceRepository = provinceRepository;
     _cityRepository     = cityRepository;
     _areaRepository     = areaRepository;
     _addressRepository  = addressRepository;
 }
Пример #33
0
 public FiltroLateralServiceController(BDNVTContext context, ILoteRepository loteRepository,
                                       IAreaRepository areaRepository, IDelegacaoRepository delegacaoRepository)
 {
     _context             = context;
     _loteRepository      = loteRepository;
     _areaRepository      = areaRepository;
     _delegacaoRepository = delegacaoRepository;
 }
 public EmpleadoController(IMapper mapper, IEmpleadoRepository empleadoRepository, IAreaRepository areaRepository,
                           IEmpleadoHabilidadRepository empleadoHabilidadRepository)
 {
     _empleadoRepository          = empleadoRepository ?? throw new ArgumentNullException(nameof(empleadoRepository));
     _areaRepository              = areaRepository ?? throw new ArgumentNullException(nameof(areaRepository));
     _empleadoHabilidadRepository = empleadoHabilidadRepository ?? throw new ArgumentNullException(nameof(empleadoHabilidadRepository));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Пример #35
0
 public CreateAreaCommandHandler(IAreaRepository repository, IAreaTypeRepository areaTypeRepository, IUnitOfWork unitOfWork, IMapper mapper, IAuthenticatedUserService authenticatedUser)
 {
     _repository         = repository;
     _unitOfWork         = unitOfWork;
     _mapper             = mapper;
     _authenticatedUser  = authenticatedUser;
     _areaTypeRepository = areaTypeRepository;
 }
Пример #36
0
 public SiteManagerModel(IAreaRepository areaRepository, ISeatRepository seatRepository, ISeatBoxRepository seatBoxRepository,
   ISiteRepository siteRepository, ICampaignRepository campaignRepository)
 {
     _areaRepository = areaRepository;
     _seatRepository = seatRepository;
     _seatBoxRepository = seatBoxRepository;
     _siteRepository = siteRepository;
     _campaignRepository = campaignRepository;
 }
Пример #37
0
 public SeatConsolidationManagerModel(ISeatConsolidationRepository seatConsolidationRepository, IRepository<Skill> skillRepository, ITermStyleRepository termStyleRepository,
     IAreaRepository areaRepository, IOrganizationRepository organizationRepository)
 {
     _skillRepository = skillRepository;
     _termStyleRepository = termStyleRepository;
     _seatConsolidationRepository = seatConsolidationRepository;
     _areaRepository = areaRepository;
     _organizationRepository = organizationRepository;
 }
Пример #38
0
 public RealTimeSeatAdherenceModel(IAgentStatusRepository agentStatusRepository, ISeatBoxRepository seatBoxRepository,
     IAreaRepository areaRepository, ITimeBoxRepository timeBoxRepository, ITermStyleRepository termStyleRepository)
 {
     _agentStatusRepository = agentStatusRepository;
     _seatBoxRepository = seatBoxRepository;
     _areaRepository = areaRepository;
     _timeBoxRepository = timeBoxRepository;
     _termStyleRepository = termStyleRepository;
 }
Пример #39
0
 public AreaService(IAreaRepository AreaRepository)
 {
     this._AreaRepository = AreaRepository;
 }
Пример #40
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;
        }
Пример #41
0
 public AreaService(IAreaRepository repository, ITaskListService taskListService)
 {
     _repository = repository;
     _taskListService = taskListService;
 }
 public TasksController(ITaskRepository taskRepository, IEmployeeRepository employeeRepository, IAreaRepository areaRepository)
 {
     _taskRepository = taskRepository;
     _areaRepository = areaRepository;
     _employeeRepository = employeeRepository;
 }
 public AreaController(IAreaRepository areaRepository)
 {
     _areaRepository = areaRepository;
 }
Пример #44
0
 public AreaService(IAreaRepository areaRepository, IUnitOfWork unitOfWork)
 {
     this._areaRepository = areaRepository;
     this._unitOfWork = unitOfWork;
 }
 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;
 }
Пример #46
0
 public AreaViewModelBuilder(IAreaRepository areaRepository,IRegionRepository regionRepository)
 {
     _areaRepository = areaRepository;
     _regionRepository = regionRepository;
 }
Пример #47
0
 /// <summary>
 /// 构造器方法
 /// </summary>
 /// <param name="areaRepository"></param>
 public AreaService(IAreaRepository areaRepository)
 {
     this.areaRepository = areaRepository;
 }
Пример #48
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;

        }