public PolicePresentation(
     IPoliceRepository policeRepo,
     ICitizenRepository citizenRepo,
     IPoliceAcademyRepository policeAcademyRepo,
     IUserService userService,
     IViolationsRepository violationsRepository,
     IPoliceCallRepository policeCallRepo,
     IQuestionsRepository questionsRepo,
     IAnswerRepository answerRepo,
     IShiftRepository shiftRepo,
     IMapper mapper,
     IBlobService blobService
     )
 {
     _policeRepo           = policeRepo;
     _citizenRepo          = citizenRepo;
     _policeAcademyRepo    = policeAcademyRepo;
     _userService          = userService;
     _violationsRepository = violationsRepository;
     _policeCallRepo       = policeCallRepo;
     _questionsRepo        = questionsRepo;
     _answerRepo           = answerRepo;
     _mapper      = mapper;
     _blobService = blobService;
     _shiftRepo   = shiftRepo;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TaskRule"/> class.
 /// </summary>
 /// <param name="engineerRepository">The engineer repository.</param>
 /// <param name="taskRepository">The task repository.</param>
 /// <param name="shiftReporsitory">The shift reporsitory.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 public TaskRule(IEngineerRepository engineerRepository, ITaskRepository taskRepository, IShiftRepository shiftReporsitory, IUnitOfWork unitOfWork)
 {
     _engineerRepository = engineerRepository;
     _taskRepository     = taskRepository;
     _shiftReporsitory   = shiftReporsitory;
     _unitOfWork         = unitOfWork;
 }
 public ExaminationService(
     IExaminationRepository examinationRepository,
     IShiftRepository shiftRepository
     ) : base(shiftRepository)
 {
     _examinationWrapper = new RepositoryWrapper <IExaminationRepository>(examinationRepository);
 }
Exemple #4
0
 public DashboardManager(IDashboardRepository dashboardRepository, IPermissionManager permissionManager,
                         IShiftRepository shiftRepository)
 {
     _dashboardRepository = dashboardRepository;
     _permissionManager   = permissionManager;
     _shiftRepository     = shiftRepository;
 }
Exemple #5
0
 public SchedulerController(IShiftRepository shiftRepository,
                            UserManager <ApplicationUser> userManager,
                            IAvailabilityRepository availabilityRepository)
 {
     this.shiftRepository        = shiftRepository;
     this.userManager            = userManager;
     this.availabilityRepository = availabilityRepository;
 }
 public ShiftController(IShiftRepository shiftRepository,
                        IEntityCenterRepository entityCenterRepository,
                        ILogger <Shift> logger)
 {
     this.shiftRepository        = shiftRepository;
     this.entityCenterRepository = entityCenterRepository;
     this.logger = logger;
 }
        public ShiftsController(IShiftRepository shiftRepository, IMapper mapper)
        {
            _shiftRepository = shiftRepository ??
                               throw new ArgumentNullException(nameof(shiftRepository));

            _mapper = mapper ??
                      throw new ArgumentNullException(nameof(mapper));
        }
        public ShiftController(IShiftRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.ShiftRepository = repository;
        }
Exemple #9
0
 public ShiftService(IShiftRepository repository, IConfiguration config)
 {
     if (String.IsNullOrEmpty(config["App:SHIFT_DURATION"]))
     {
         throw new ArgumentNullException("App:SHIFT_DURATION");
     }
     SHIFT_DURATION = byte.Parse(config["App:SHIFT_DURATION"]);
     _repository    = repository;
 }
 public RecommendationService(
     IExaminationRepository examinationRepository,
     IShiftRepository shiftRepository,
     IConnection doctorConnection)
 {
     _shiftWrapper       = new RepositoryWrapper <IShiftRepository>(shiftRepository);
     _examinationWrapper = new RepositoryWrapper <IExaminationRepository>(examinationRepository);
     _doctorConnection   = doctorConnection;
 }
        public ShiftController(IShiftRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.ShiftRepository = repository;
        }
Exemple #12
0
 public ShiftServiceScoped(
     IOptions <ShiftConfiguration> options,
     IShiftRepository repository,
     ILogger <ShiftService> logger = null)
 {
     this.configuration = options.Value;
     this.repository    = repository;
     this.logger        = logger;
 }
 public TrainingShiftController(ILogger <TrainingShiftController> logger, IShiftRepository shiftRepository, IPatrolRepository patrolRepository, ISystemClock clock, IEmailService emailService, IUserRepository userRepository)
 {
     _logger           = logger;
     _shiftRepository  = shiftRepository;
     _patrolRepository = patrolRepository;
     _clock            = clock;
     _emailService     = emailService;
     _userRepository   = userRepository;
 }
 public TimeClockService(ILogger <TimeClockService> logger, ITimeEntryRepository timeEntryRepository,
                         IPatrolRepository patrolRepository, IShiftRepository shiftRepository, ISystemClock systemClock, IGroupRepository groupRepository)
 {
     _logger = logger;
     _timeEntryRepository = timeEntryRepository;
     _patrolRepository    = patrolRepository;
     _shiftRepository     = shiftRepository;
     _systemClock         = systemClock;
     _groupRepository     = groupRepository;
 }
Exemple #15
0
 public ShiftService(IShiftRepository shiftRepository, IMapper mapper,
                     IManageCashRepository manageCashRepository, IUserRepository userRepository,
                     IReceiptRepository receiptRepository)
 {
     _shiftRepository      = shiftRepository;
     _manageCashRepository = manageCashRepository;
     _receiptRepository    = receiptRepository;
     _userRepository       = userRepository;
     _mapper = mapper;
 }
 public AuthService(IStoreRepository storeRepository,
                    ITokenRepository tokenRepository,
                    IUserRepository userRepository,
                    IShiftRepository shiftRepository)
 {
     _storeRepository = storeRepository;
     _tokenRepository = tokenRepository;
     _userRepository  = userRepository;
     _shiftRepository = shiftRepository;
 }
Exemple #17
0
 public ActivityFactory( IInfectionRepository infectionRepository, IShiftRepository shiftRepository, IServiceProviderRepository serviceProviderRepository, IProductRepository productRepository, IServiceRepository serviceRepository, ISeasonRepository seasonRepository, ICommodityRepository commodityRepository) 
 {
     _infectionRepository = infectionRepository;
     _shiftRepository = shiftRepository;
     _serviceProviderRepository = serviceProviderRepository;
     _productRepository = productRepository;
     _serviceRepository = serviceRepository;
     _seasonRepository = seasonRepository;
     _commodityRepository = commodityRepository;
 }
 public ScheduleController(ILogger <ScheduleController> logger, IScheduleService scheduleService, IShiftRepository shiftRepository
                           , IPatrolRepository patrolRepository, ISystemClock clock, IPatrolService patrolService, IUserRepository userRepository)
 {
     _logger           = logger;
     _shiftRepository  = shiftRepository;
     _patrolRepository = patrolRepository;
     _clock            = clock;
     _scheduleService  = scheduleService;
     _patrolService    = patrolService;
     _userRepository   = userRepository;
 }
 public ShiftsController(
     IMapper mapper,
     IShiftRepository repository,
     IUnitOfWork unitOfWork,
     IAppointmentRepository appointmentRepository
     )
 {
     this.mapper                = mapper;
     this.repository            = repository;
     this.unitOfWork            = unitOfWork;
     this.appointmentRepository = appointmentRepository;
 }
Exemple #20
0
 public ClassController(IShiftRepository shiftRepo,
                        ISchoolClassRepository schoolClassRepo,
                        ISchoolVersionRepository schoolVersionRepository,
                        IRoomRepository roomRepo,
                        ISectionRepository sectionRepo)
 {
     _shiftRepo = shiftRepo;
     _schoolVersionRepository = schoolVersionRepository;
     _schoolClassRepo         = schoolClassRepo;
     _roomRepo    = roomRepo;
     _sectionRepo = sectionRepo;
 }
Exemple #21
0
 public ShiftController(IShiftRepository shiftRepository,
                        IUserShiftRepository userShiftRepository,
                        RoleManager <IdentityRole> roleManager,
                        UserManager <ApplicationUser> userManager,
                        IAvailabilityRepository availabilityRepository)
 {
     this.shiftRepository        = shiftRepository;
     this.userShiftRepository    = userShiftRepository;
     this.roleManager            = roleManager;
     this.userManager            = userManager;
     this.availabilityRepository = availabilityRepository;
 }
 public ScheduleService(ILogger <ScheduleService> logger, IPatrolRepository patrolRepository,
                        IGroupRepository groupRepository, IShiftRepository shiftRepository, ISystemClock clock, IEmailService emailService, IUserRepository userRepository,
                        IShiftWorkItemService shiftWorkItemService)
 {
     _logger               = logger;
     _patrolRepository     = patrolRepository;
     _groupRepository      = groupRepository;
     _shiftRepository      = shiftRepository;
     _clock                = clock;
     _emailService         = emailService;
     _userRepository       = userRepository;
     _shiftWorkItemService = shiftWorkItemService;
 }
        public ShiftController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.ShiftRepository = new MixERP.Net.Core.Modules.HRM.Data.Shift
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
        public ShiftController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.ShiftRepository = new MixERP.Net.Core.Modules.HRM.Data.Shift
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
Exemple #25
0
 public WorkItemService(ILogger <WorkItemService> logger, IPatrolRepository patrolRepository,
                        IGroupRepository groupRepository, IShiftRepository shiftRepository, ISystemClock clock, IEmailService emailService,
                        IUserRepository userRepository, IWorkItemRepository workItemRepository, IMapper mapper)
 {
     _logger             = logger;
     _patrolRepository   = patrolRepository;
     _groupRepository    = groupRepository;
     _shiftRepository    = shiftRepository;
     _clock              = clock;
     _emailService       = emailService;
     _userRepository     = userRepository;
     _workItemRepository = workItemRepository;
     _mapper             = mapper;
 }
 public TransRecordController(ITransRecordRepository transRecordRepository,
                              //UserManager<UserAccount> _userManager,
                              IClientMachineRepository _clientMachineRepository,
                              IGeneralSettingsRepository _genSettingsRepository,
                              ITransferLimitRepository transferLimitRepository,
                              IShiftRepository shiftRepository)
 {
     this.transRepository = transRecordRepository;
     //userManager = _userManager;
     clientMachineRepository      = _clientMachineRepository;
     genSettingsRepository        = _genSettingsRepository;
     this.transferLimitRepository = transferLimitRepository;
     this.shiftRepository         = shiftRepository;
 }
        public ShiftEmployeeSaveChangeValidator(IEmployeeRepository employeeRepository, IShiftRepository shiftRepository)
        {
            this._employeeRepository = employeeRepository;
            this._shiftRepository    = shiftRepository;

            RuleFor(x => x.EmployeeCode).NotEmpty().WithMessage(CommonMessageGlobal.Require("Mã nhân viên"))
            .MinimumLength(2).WithMessage(CommonMessageGlobal.Minimum("Mã nhân viên", 2))
            .MaximumLength(20).WithMessage(CommonMessageGlobal.Maximum("Mã nhân viên", 20))
            .Must(IsValidEmployeeCode).WithMessage(CommonMessageGlobal.Invalid("Mã nhân viên"));

            RuleFor(x => x.ShiftCode).NotEmpty().WithMessage(CommonMessageGlobal.Require("Mã ca làm việc"))
            .MinimumLength(2).WithMessage(CommonMessageGlobal.Minimum("Mã ca làm việc", 2))
            .MaximumLength(20).WithMessage(CommonMessageGlobal.Maximum("Mã ca làm việc", 20))
            .Must(IsValidShiftCode).WithMessage(CommonMessageGlobal.Invalid("Mã ca làm việc"));
        }
Exemple #28
0
		public ShiftService(
			ILogger<IShiftRepository> logger,
			IShiftRepository shiftRepository,
			IApiShiftRequestModelValidator shiftModelValidator,
			IBOLShiftMapper bolshiftMapper,
			IDALShiftMapper dalshiftMapper,
			IBOLEmployeeDepartmentHistoryMapper bolEmployeeDepartmentHistoryMapper,
			IDALEmployeeDepartmentHistoryMapper dalEmployeeDepartmentHistoryMapper)
			: base(logger,
			       shiftRepository,
			       shiftModelValidator,
			       bolshiftMapper,
			       dalshiftMapper,
			       bolEmployeeDepartmentHistoryMapper,
			       dalEmployeeDepartmentHistoryMapper)
		{
		}
 public AbstractShiftService(
     ILogger logger,
     IShiftRepository shiftRepository,
     IApiShiftRequestModelValidator shiftModelValidator,
     IBOLShiftMapper bolShiftMapper,
     IDALShiftMapper dalShiftMapper,
     IBOLEmployeeDepartmentHistoryMapper bolEmployeeDepartmentHistoryMapper,
     IDALEmployeeDepartmentHistoryMapper dalEmployeeDepartmentHistoryMapper)
     : base()
 {
     this.ShiftRepository     = shiftRepository;
     this.ShiftModelValidator = shiftModelValidator;
     this.BolShiftMapper      = bolShiftMapper;
     this.DalShiftMapper      = dalShiftMapper;
     this.BolEmployeeDepartmentHistoryMapper = bolEmployeeDepartmentHistoryMapper;
     this.DalEmployeeDepartmentHistoryMapper = dalEmployeeDepartmentHistoryMapper;
     this.logger = logger;
 }
Exemple #30
0
        public AttendanceSetupController(

            IAssignRosterRepository repo1,
            IAttendanceFlagRepository repo3,
            IAttendanceRequestApproverRepository repo4,
            IAttendanceRequestTypeRepository repo5,
            IFlagCategoryRepository repo6,
            IFlagEffectTypeRepository repo7,
            IFlagTypeRepository repo8,
            IFlagValueRepository repo9,
            IRosterRepository repo10,
            IShiftRepository repo11,
            IOverTimeFlagRepository repo12,
            IOverTimeTypeRepository repo13,
            IEmployeeWorkingDayOtRepository repo14,
            IEmployeeOffDayOtRepository repo15,
            IEmployeeIncomingOtRepository repo16,
            IEmployeeOutgoingOtRepository repo17,
            IShiftAttendanceFlagRepository repo18,
            IUserAssignRosterRepository repo19

            )
        {
            AssignRoster_repo = repo1;
            //AssignRosterShift_repo = repo2;
            AttendanceFlag_repo            = repo3;
            AttendanceRequestApprover_repo = repo4;
            AttendanceRequestType_repo     = repo5;
            FlagCategory_repo   = repo6;
            FlagEffectType_repo = repo7;
            FlagType_repo       = repo8;
            FlagValue_repo      = repo9;
            Roster_repo         = repo10;
            Shift_repo          = repo11;

            OverTimeFlag_repo         = repo12;
            OverTimeType_repo         = repo13;
            EmployeeWorkingDayOt_repo = repo14;
            EmployeeOffDayOt_repo     = repo15;
            EmployeeIncomingOt_repo   = repo16;
            EmployeeOutgoingOt_repo   = repo17;
            ShiftAttendanceFlag_repo  = repo18;
            UserAssignRoster_repo     = repo19;
        }
Exemple #31
0
 public CommonService(IMapper mapper,
                      MapperConfiguration configMapper,
                      IFactoryRepository repoFactory,
                      IShiftRepository repoShift,
                      IActionTimeForOEERepository repoActionTime,
                      IMachineInformationRepository repoMachineInfomation,
                      IMachineTypeRepository repoMachineType,
                      IOEE_VNRepository repoOee_VN,
                      IOEE_MMRepository repoOee_MM,
                      IOEE_IDRepository repoOee_ID
                      )
 {
     _repoFactory           = repoFactory;
     _repoShift             = repoShift;
     _mapper                = mapper;
     _configMapper          = configMapper;
     _repoActionTime        = repoActionTime;
     _repoMachineInfomation = repoMachineInfomation;
     _repoMachineType       = repoMachineType;
     _repoOee_VN            = repoOee_VN;
     _repoOee_MM            = repoOee_MM;
     _repoOee_ID            = repoOee_ID;
 }
Exemple #32
0
 public UsersController(ISettingsService settingsService,
                        IAccessRuleRepository accessRuleRepository,
                        IUserRepository userRepository,
                        IUserSkillRepository userSkillRepository,
                        IUserCertificationRepository userCertificationRepository,
                        IDepartmentRepository departmentRepository,
                        IDesignationRepository designationRepository,
                        ILocationRepository locationRepository,
                        IShiftRepository shiftRepository,
                        IRoleRepository roleRepository,
                        IRoleMemberRepository roleMemberRepository,
                        IAssetRepository assetRepository,
                        ILeaveEntitlementRepository leaveEntitlementRepository,
                        IProjectMemberRepository projectMemberRepository,
                        IUserTechnologyMapRepository userTechnologyMapRepository,
                        IEmergencyContactRepository emergencyContactRepository,
                        IEmployeeDependentRepository employeeDependentRepository,
                        IUserAwardRepository userAwardRepository,
                        ITokenRepository tokenRepository,
                        IAwardRepository awardRepository,
                        ITechnologyRepository technologyRepository,
                        ISkillRepository skillRepository,
                        IHobbyRepository hobbyRepository,
                        IUserHobbyRepository userHobbyRepository,
                        ICertificationRepository certificationRepository,
                        ISystemSnapshotRepository systemSnapshotRepository,
                        IUserDocumentRepository userDocumentRepository,
                        IUnitOfWork unitOfWork)
 {
     _userRepository              = userRepository;
     _userSkillRepository         = userSkillRepository;
     _userCertificationRepository = userCertificationRepository;
     _roleMemberRepository        = roleMemberRepository;
     _userTechnologyMapRepository = userTechnologyMapRepository;
     _userHobbyRepository         = userHobbyRepository;
     _unitOfWork = unitOfWork;
 }
Exemple #33
0
 public ShiftService(IShiftRepository repository) : base(repository)
 {
 }
Exemple #34
0
 public ShiftController(IDTOToEntityMapping dtoToEntityMapping, IMasterDataToDTOMapping masterDataToDtoMapping, CokeDataContext context, IShiftRepository shiftRepository)
     : base(dtoToEntityMapping, masterDataToDtoMapping, context)
 {
     _shiftRepository = shiftRepository;
 }
Exemple #35
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;
        }